# Google Cloud Sql Admin V1 Client - Class SqlExternalSyncSettingErrorType (1.9.0)

1.9.0 (latest) 1.8.0 1.7.0 1.6.0 1.5.0 1.4.0 1.3.1 1.2.6 1.1.0 1.0.0 0.19.0 0.18.0 0.17.1 0.16.1 0.12.0 0.11.0 0.10.0 0.9.0 0.8.0 0.7.0 0.6.0 0.5.0 0.4.1 0.3.1 0.2.12 Reference documentation and code samples for the Google Cloud Sql Admin V1 Client class SqlExternalSyncSettingErrorType.

Protobuf type `google.cloud.sql.v1.SqlExternalSyncSettingError.SqlExternalSyncSettingErrorType`

## Namespace

Google \\ Cloud \\ Sql \\ V1 \\ SqlExternalSyncSettingError

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### SQL_EXTERNAL_SYNC_SETTING_ERROR_TYPE_UNSPECIFIED

    Value: 0

Generated from protobuf enum `SQL_EXTERNAL_SYNC_SETTING_ERROR_TYPE_UNSPECIFIED = 0;`

### CONNECTION_FAILURE

    Value: 1

Generated from protobuf enum `CONNECTION_FAILURE = 1;`

### BINLOG_NOT_ENABLED

    Value: 2

Generated from protobuf enum `BINLOG_NOT_ENABLED = 2;`

### INCOMPATIBLE_DATABASE_VERSION

    Value: 3

Generated from protobuf enum `INCOMPATIBLE_DATABASE_VERSION = 3;`

### REPLICA_ALREADY_SETUP

    Value: 4

Generated from protobuf enum `REPLICA_ALREADY_SETUP = 4;`

### INSUFFICIENT_PRIVILEGE

    Value: 5

The replication user is missing privileges that are required.

Generated from protobuf enum `INSUFFICIENT_PRIVILEGE = 5;`

### UNSUPPORTED_MIGRATION_TYPE

    Value: 6

Unsupported migration type.

Generated from protobuf enum `UNSUPPORTED_MIGRATION_TYPE = 6;`

### NO_PGLOGICAL_INSTALLED

    Value: 7

No pglogical extension installed on databases, applicable for postgres.

Generated from protobuf enum `NO_PGLOGICAL_INSTALLED = 7;`

### PGLOGICAL_NODE_ALREADY_EXISTS

    Value: 8

pglogical node already exists on databases, applicable for postgres.

Generated from protobuf enum `PGLOGICAL_NODE_ALREADY_EXISTS = 8;`

### INVALID_WAL_LEVEL

    Value: 9

The value of parameter wal_level is not set to logical.

Generated from protobuf enum `INVALID_WAL_LEVEL = 9;`

### INVALID_SHARED_PRELOAD_LIBRARY

    Value: 10

The value of parameter shared_preload_libraries does not include
pglogical.

Generated from protobuf enum `INVALID_SHARED_PRELOAD_LIBRARY = 10;`

### INSUFFICIENT_MAX_REPLICATION_SLOTS

    Value: 11

The value of parameter max_replication_slots is not sufficient.

Generated from protobuf enum `INSUFFICIENT_MAX_REPLICATION_SLOTS = 11;`

### INSUFFICIENT_MAX_WAL_SENDERS

    Value: 12

The value of parameter max_wal_senders is not sufficient.

Generated from protobuf enum `INSUFFICIENT_MAX_WAL_SENDERS = 12;`

### INSUFFICIENT_MAX_WORKER_PROCESSES

    Value: 13

The value of parameter max_worker_processes is not sufficient.

Generated from protobuf enum `INSUFFICIENT_MAX_WORKER_PROCESSES = 13;`

### UNSUPPORTED_EXTENSIONS

    Value: 14

Extensions installed are either not supported or having unsupported
versions.

Generated from protobuf enum `UNSUPPORTED_EXTENSIONS = 14;`

### INVALID_RDS_LOGICAL_REPLICATION

    Value: 15

The value of parameter rds.logical_replication is not set to 1.

Generated from protobuf enum `INVALID_RDS_LOGICAL_REPLICATION = 15;`

### INVALID_LOGGING_SETUP

    Value: 16

The primary instance logging setup doesn't allow EM sync.

Generated from protobuf enum `INVALID_LOGGING_SETUP = 16;`

### INVALID_DB_PARAM

    Value: 17

The primary instance database parameter setup doesn't allow EM sync.

Generated from protobuf enum `INVALID_DB_PARAM = 17;`

### UNSUPPORTED_GTID_MODE

    Value: 18

The gtid_mode is not supported, applicable for MySQL.

Generated from protobuf enum `UNSUPPORTED_GTID_MODE = 18;`

### SQLSERVER_AGENT_NOT_RUNNING

    Value: 19

SQL Server Agent is not running.

Generated from protobuf enum `SQLSERVER_AGENT_NOT_RUNNING = 19;`

### UNSUPPORTED_TABLE_DEFINITION

    Value: 20

The table definition is not support due to missing primary key or replica
identity, applicable for postgres. Note that this is a warning and won't
block the migration.

Generated from protobuf enum `UNSUPPORTED_TABLE_DEFINITION = 20;`

### UNSUPPORTED_DEFINER

    Value: 21

The customer has a definer that will break EM setup.

Generated from protobuf enum `UNSUPPORTED_DEFINER = 21;`

### SQLSERVER_SERVERNAME_MISMATCH

    Value: 22

SQL Server @@SERVERNAME does not match actual host name.

Generated from protobuf enum `SQLSERVER_SERVERNAME_MISMATCH = 22;`

### PRIMARY_ALREADY_SETUP

    Value: 23

The primary instance has been setup and will fail the setup.

Generated from protobuf enum `PRIMARY_ALREADY_SETUP = 23;`

### UNSUPPORTED_BINLOG_FORMAT

    Value: 24

The primary instance has unsupported binary log format.

Generated from protobuf enum `UNSUPPORTED_BINLOG_FORMAT = 24;`

### BINLOG_RETENTION_SETTING

    Value: 25

The primary instance's binary log retention setting.

Generated from protobuf enum `BINLOG_RETENTION_SETTING = 25;`

### UNSUPPORTED_STORAGE_ENGINE

    Value: 26

The primary instance has tables with unsupported storage engine.

Generated from protobuf enum `UNSUPPORTED_STORAGE_ENGINE = 26;`

### LIMITED_SUPPORT_TABLES

    Value: 27

Source has tables with limited support
eg: PostgreSQL tables without primary keys.

Generated from protobuf enum `LIMITED_SUPPORT_TABLES = 27;`

### EXISTING_DATA_IN_REPLICA

    Value: 28

The replica instance contains existing data.

Generated from protobuf enum `EXISTING_DATA_IN_REPLICA = 28;`

### MISSING_OPTIONAL_PRIVILEGES

    Value: 29

The replication user is missing privileges that are optional.

Generated from protobuf enum `MISSING_OPTIONAL_PRIVILEGES = 29;`

### RISKY_BACKUP_ADMIN_PRIVILEGE

    Value: 30

Additional BACKUP_ADMIN privilege is granted to the replication user
which may lock source MySQL 8 instance for DDLs during initial sync.

Generated from protobuf enum `RISKY_BACKUP_ADMIN_PRIVILEGE = 30;`

### INSUFFICIENT_GCS_PERMISSIONS

    Value: 31

The Cloud Storage bucket is missing necessary permissions.

Generated from protobuf enum `INSUFFICIENT_GCS_PERMISSIONS = 31;`

### INVALID_FILE_INFO

    Value: 32

The Cloud Storage bucket has an error in the file or contains invalid
file information.

Generated from protobuf enum `INVALID_FILE_INFO = 32;`

### UNSUPPORTED_DATABASE_SETTINGS

    Value: 33

The source instance has unsupported database settings for migration.

Generated from protobuf enum `UNSUPPORTED_DATABASE_SETTINGS = 33;`

### MYSQL_PARALLEL_IMPORT_INSUFFICIENT_PRIVILEGE

    Value: 34

The replication user is missing parallel import specific privileges.

(e.g. LOCK TABLES) for MySQL.

Generated from protobuf enum `MYSQL_PARALLEL_IMPORT_INSUFFICIENT_PRIVILEGE = 34;`

### LOCAL_INFILE_OFF

    Value: 35

The global variable local_infile is off on external server replica.

Generated from protobuf enum `LOCAL_INFILE_OFF = 35;`

### TURN_ON_PITR_AFTER_PROMOTE

    Value: 36

This code instructs customers to turn on point-in-time recovery manually
for the instance after promoting the Cloud SQL for PostgreSQL instance.

Generated from protobuf enum `TURN_ON_PITR_AFTER_PROMOTE = 36;`

### INCOMPATIBLE_DATABASE_MINOR_VERSION

    Value: 37

The minor version of replica database is incompatible with the source.

Generated from protobuf enum `INCOMPATIBLE_DATABASE_MINOR_VERSION = 37;`

### SOURCE_MAX_SUBSCRIPTIONS

    Value: 38

This warning message indicates that Cloud SQL uses the maximum number of
subscriptions to migrate data from the source to the destination.

Generated from protobuf enum `SOURCE_MAX_SUBSCRIPTIONS = 38;`

### UNABLE_TO_VERIFY_DEFINERS

    Value: 39

Unable to verify definers on the source for MySQL.

Generated from protobuf enum `UNABLE_TO_VERIFY_DEFINERS = 39;`

### SUBSCRIPTION_CALCULATION_STATUS

    Value: 40

If a time out occurs while the subscription counts are calculated, then
this value is set to 1. Otherwise, this value is set to 2.

Generated from protobuf enum `SUBSCRIPTION_CALCULATION_STATUS = 40;`

### PG_SUBSCRIPTION_COUNT

    Value: 41

Count of subscriptions needed to sync source data for PostgreSQL
database.

Generated from protobuf enum `PG_SUBSCRIPTION_COUNT = 41;`

### PG_SYNC_PARALLEL_LEVEL

    Value: 42

Final parallel level that is used to do migration.

Generated from protobuf enum `PG_SYNC_PARALLEL_LEVEL = 42;`

### INSUFFICIENT_DISK_SIZE

    Value: 43

The disk size of the replica instance is smaller than the data size of
the source instance.

Generated from protobuf enum `INSUFFICIENT_DISK_SIZE = 43;`

### INSUFFICIENT_MACHINE_TIER

    Value: 44

The data size of the source instance is greater than 1 TB, the number of
cores of the replica instance is less than 8, and the memory of the
replica is less than 32 GB.

Generated from protobuf enum `INSUFFICIENT_MACHINE_TIER = 44;`

### UNSUPPORTED_EXTENSIONS_NOT_MIGRATED

    Value: 45

The warning message indicates the unsupported extensions will not be
migrated to the destination.

Generated from protobuf enum `UNSUPPORTED_EXTENSIONS_NOT_MIGRATED = 45;`

### EXTENSIONS_NOT_MIGRATED

    Value: 46

The warning message indicates the pg_cron extension and settings will not
be migrated to the destination.

Generated from protobuf enum `EXTENSIONS_NOT_MIGRATED = 46;`

### PG_CRON_FLAG_ENABLED_IN_REPLICA

    Value: 47

The error message indicates that pg_cron flags are enabled on the
destination which is not supported during the migration.

Generated from protobuf enum `PG_CRON_FLAG_ENABLED_IN_REPLICA = 47;`

### EXTENSIONS_NOT_ENABLED_IN_REPLICA

    Value: 48

This error message indicates that the specified extensions are not
enabled on destination instance. For example, before you can migrate
data to the destination instance, you must enable the PGAudit extension
on the instance.

Generated from protobuf enum `EXTENSIONS_NOT_ENABLED_IN_REPLICA = 48;`

### UNSUPPORTED_COLUMNS

    Value: 49

The source database has generated columns that can't be migrated. Please
change them to regular columns before migration.

Generated from protobuf enum `UNSUPPORTED_COLUMNS = 49;`

### USERS_NOT_CREATED_IN_REPLICA

    Value: 50

The source database has users that aren't created in the replica.

First, create all users, which are in the pg_user_mappings table
of the source database, in the destination instance. Then, perform the
migration.

Generated from protobuf enum `USERS_NOT_CREATED_IN_REPLICA = 50;`

### UNSUPPORTED_SYSTEM_OBJECTS

    Value: 51

The selected objects include system objects that aren't supported for
migration.

Generated from protobuf enum `UNSUPPORTED_SYSTEM_OBJECTS = 51;`

### UNSUPPORTED_TABLES_WITH_REPLICA_IDENTITY

    Value: 52

The source database has tables with the FULL or NOTHING replica identity.

Before starting your migration, either remove the identity or change it
to DEFAULT. Note that this is an error and will block the migration.

Generated from protobuf enum `UNSUPPORTED_TABLES_WITH_REPLICA_IDENTITY = 52;`

### SELECTED_OBJECTS_NOT_EXIST_ON_SOURCE

    Value: 53

The selected objects don't exist on the source instance.

Generated from protobuf enum `SELECTED_OBJECTS_NOT_EXIST_ON_SOURCE = 53;`

### PSC_ONLY_INSTANCE_WITH_NO_NETWORK_ATTACHMENT_URI

    Value: 54

PSC only destination instance does not have a network attachment URI.

Generated from protobuf enum `PSC_ONLY_INSTANCE_WITH_NO_NETWORK_ATTACHMENT_URI = 54;`

### SELECTED_OBJECTS_REFERENCE_UNSELECTED_OBJECTS

    Value: 55

Selected objects reference unselected objects. Based on their object type
(foreign key constraint or view), selected objects will fail during
migration.

Generated from protobuf enum `SELECTED_OBJECTS_REFERENCE_UNSELECTED_OBJECTS = 55;`

### PROMPT_DELETE_EXISTING

    Value: 56

The migration will delete existing data in the replica; set
[replica_overwrite_enabled](https://docs.cloud.google.com/php/docs/reference/cloud-sql-admin/latest/V1.SqlInstancesStartExternalSyncRequest#_Google_Cloud_Sql_V1_SqlInstancesStartExternalSyncRequest__getReplicaOverwriteEnabled__)
in the request to acknowledge this. This is an error. MySQL only.

Generated from protobuf enum `PROMPT_DELETE_EXISTING = 56;`

### WILL_DELETE_EXISTING

    Value: 57

The migration will delete existing data in the replica;
[replica_overwrite_enabled](https://docs.cloud.google.com/php/docs/reference/cloud-sql-admin/latest/V1.SqlInstancesStartExternalSyncRequest#_Google_Cloud_Sql_V1_SqlInstancesStartExternalSyncRequest__getReplicaOverwriteEnabled__)
was set in the request acknowledging this. This is a warning rather than
an error. MySQL only.

Generated from protobuf enum `WILL_DELETE_EXISTING = 57;`

### PG_DDL_REPLICATION_INSUFFICIENT_PRIVILEGE

    Value: 58

The replication user is missing specific privileges to setup DDL
replication. (e.g. CREATE EVENT TRIGGER, CREATE SCHEMA) for PostgreSQL.

Generated from protobuf enum `PG_DDL_REPLICATION_INSUFFICIENT_PRIVILEGE = 58;`