PDO Exception
PDOException extends RuntimeException {
/* Properties */
public array $errorInfo ;
protected string $code ;
/* Inherited properties */
protected string $message ;
protected int $code ;
final public string Exception::getMessage ( void )
final public mixed Exception::getCode ( void ))
}
http://php.net/manual/en/class.pdoexception.php
errorInfo
Corresponds to PDO::errorInfo() or PDOStatement::errorInfo()
code
SQLSTATE error code. Use Exception::getCode() to access it.
PDO::errorInfo — Fetch extended error information associated with the last operation on the database handle
Description ¶
public array PDO::errorInfo ( void )
Return Values ¶
PDO::errorInfo() returns an array of error information about the last operation performed by this database handle. The array consists of the following fields:
Element Information
0 SQLSTATE error code (a five characters alphanumeric identifier defined in the ANSI SQL standard).
1 Driver-specific error code.
2 Driver-specific error message.
Note:
If the SQLSTATE error code is not set or there is no driver-specific error, the elements following element 0 will be set to NULL.
PDO::errorInfo() only retrieves error information for operations performed directly on the database handle. If you create a PDOStatement object through PDO::prepare() or PDO::query() and invoke an error on the statement handle, PDO::errorInfo() will not reflect the error from the statement handle. You must call PDOStatement::errorInfo() to return the error information for an operation performed on a particular statement handle.
PDO::errorCode
(PHP 5 >= 5.1.0, PECL pdo >= 0.1.0)
PDO::errorCode — Fetch the SQLSTATE associated with the last operation on the database handle
Description ¶
public mixed PDO::errorCode ( void )
Return Values ¶
Returns an SQLSTATE, a five characters alphanumeric identifier defined in the ANSI SQL-92 standard. Briefly, an SQLSTATE consists of a two characters class value followed by a three characters subclass value. A class value of 01 indicates a warning and is accompanied by a return code of SQL_SUCCESS_WITH_INFO. Class values other than '01', except for the class 'IM', indicate an error. The class 'IM' is specific to warnings and errors that derive from the implementation of PDO (or perhaps ODBC, if you're using the ODBC driver) itself. The subclass value '000' in any class indicates that there is no subclass for that SQLSTATE.
PDO::errorCode() only retrieves error codes for operations performed directly on the database handle. If you create a PDOStatement object through PDO::prepare() or PDO::query() and invoke an error on the statement handle, PDO::errorCode() will not reflect that error. You must call PDOStatement::errorCode() to return the error code for an operation performed on a particular statement handle.
Returns NULL if no operation has been run on the database handle.
Examples ¶
Example #1 Retrieving an SQLSTATE code
<?php
/* Provoke an error -- the BONES table does not exist */
$dbh->exec("INSERT INTO bones(skull) VALUES ('lucy')");
echo "\nPDO::errorCode(): ", $dbh->errorCode();
?>
The above example will output:
PDO::errorCode(): 42S02
http://docstore.mik.ua/orelly/java-ent/jenut/ch08_06.htm
SQL-92 SQLSTATE Return Codes
| Class | Class Definition | Subclass | Subclass Definition |
|---|---|---|---|
| 00 | Successful completion | 000 | None |
| 01 | Warning | 000 | None |
| 001 | Cursor operation conflict | ||
| 002 | Disconnect error | ||
| 003 | Null value eliminated in set function | ||
| 004 | String data, right truncation | ||
| 005 | Insufficient item descriptor areas | ||
| 006 | Privilege not revoked | ||
| 007 | Privilege not granted | ||
| 008 | Implicit zero-bit padding | ||
| 009 | Search expression too long for information schema | ||
| 00A | Query expression too long for information schema | ||
| 02 | No data | 000 | None |
| 07 | Dynamic SQL error | 000 | None |
| 001 | Using clause doesn't match dynamic parameters | ||
| 002 | Using clause doesn't match target specifications | ||
| 003 | Cursor specification can't be executed | ||
| 004 | Using clause required for dynamic parameters | ||
| 005 | Prepared statement not a cursor specification | ||
| 006 | Restricted data type attribute violation | ||
| 007 | Using clause required for result fields | ||
| 008 | Invalid descriptor count | ||
| 009 | Invalid descriptor index | ||
| 08 | Connection Exception | 000 | None |
| 001 | SQL-client unable to establish SQL-connection | ||
| 002 | Connection name in use | ||
| 003 | Connection doesn't exist | ||
| 004 | SQL-server rejected establishment of SQL-connection | ||
| 006 | Connection failure | ||
| 007 | Transaction resolution unknown | ||
| 0A | Feature not supported | 000 | None |
| 001 | Multiple server transactions | ||
| 21 | Cardinality violation | 000 | None |
| 22 | Data exception | 000 | None |
| 001 | String data, right truncation | ||
| 002 | Null value, no indicator | ||
| 003 | Numeric value out of range | ||
| 005 | Error in assignment | ||
| 007 | Invalid date-time format | ||
| 008 | Date-time field overflow | ||
| 009 | Invalid time zone displacement value | ||
| 011 | Substring error | ||
| 012 | Division by zero | ||
| 015 | Internal field overflow | ||
| 018 | Invalid character value for cast | ||
| 019 | Invalid escape character | ||
| 021 | Character not in repertoire | ||
| 022 | Indicator overflow | ||
| 023 | Invalid parameter value | ||
| 024 | Unterminated C string | ||
| 025 | Invalid escape sequence | ||
| 026 | String data, length mismatch | ||
| 027 | Trim error | ||
| 23 | Integrity constraint violation | 000 | None |
| 24 | Invalid cursor state | 000 | None |
| 25 | Invalid transaction state | 000 | None |
| 26 | Invalid SQL statement name | 000 | None |
| 27 | Triggered data change violation | 000 | None |
| 28 | Invalid authorization specification | 000 | None |
| 2A | Syntax error or access rule violation in direct SQL statement | 000 | None |
| 2B | Dependent privilege descriptors still exist | 000 | None |
| 2C | Invalid character set name | 000 | None |
| 2D | Invalid transaction termination | 000 | None |
| 2E | Invalid connection name | 000 | None |
| 33 | Invalid SQL descriptor name | 000 | None |
| 34 | Invalid cursor name | 000 | None |
| 35 | Invalid condition number | 000 | None |
| 37 | Syntax error or access rule violation in dynamic SQL statement | 000 | None |
| 3C | Ambiguous cursor name | 000 | None |
| 3F | Invalid schema name | 000 | None |
| 40 | Transaction rollback | 000 | None |
| 001 | Serialization failure | ||
| 002 | Integrity constraint violation | ||
| 003 | Statement completion unknown | ||
| 42 | Syntax error or access rule violation | 000 | None |
| 44 | With check option violation | 000 | None |
Server Error Codes and Messages
https://dev.mysql.com/doc/refman/5.7/en/error-messages-server.html
-
(
ER_GTID_MODE_2_OR_3_REQUIRES_ENFORCE_GTID_CONSISTENCY_ON)Message: @@GLOBAL.GTID_MODE = ON or UPGRADE_STEP_2 requires @@GLOBAL.ENFORCE_GTID_CONSISTENCY = 1.
ER_GTID_MODE_2_OR_3_REQUIRES_ENFORCE_GTID_CONSISTENCY_ONwas removed after 5.7.5. -
Error:
1779SQLSTATE:HY000(ER_GTID_MODE_ON_REQUIRES_ENFORCE_GTID_CONSISTENCY_ON)Message: GTID_MODE = ON requires ENFORCE_GTID_CONSISTENCY = ON.
ER_GTID_MODE_ON_REQUIRES_ENFORCE_GTID_CONSISTENCY_ONwas added in 5.7.6. -
Error:
1780SQLSTATE:HY000(ER_GTID_MODE_REQUIRES_BINLOG)Message: @@GLOBAL.GTID_MODE = ON or ON_PERMISSIVE or OFF_PERMISSIVE requires --log-bin and --log-slave-updates.
-
Error:
1781SQLSTATE:HY000(ER_CANT_SET_GTID_NEXT_TO_GTID_WHEN_GTID_MODE_IS_OFF)Message: @@SESSION.GTID_NEXT cannot be set to UUID:NUMBER when @@GLOBAL.GTID_MODE = OFF.
-
Error:
1782SQLSTATE:HY000(ER_CANT_SET_GTID_NEXT_TO_ANONYMOUS_WHEN_GTID_MODE_IS_ON)Message: @@SESSION.GTID_NEXT cannot be set to ANONYMOUS when @@GLOBAL.GTID_MODE = ON.
-
Error:
1783SQLSTATE:HY000(ER_CANT_SET_GTID_NEXT_LIST_TO_NON_NULL_WHEN_GTID_MODE_IS_OFF)Message: @@SESSION.GTID_NEXT_LIST cannot be set to a non-NULL value when @@GLOBAL.GTID_MODE = OFF.
-
Error:
1784SQLSTATE:HY000(ER_FOUND_GTID_EVENT_WHEN_GTID_MODE_IS_OFF)Message: Found a Gtid_log_event or Previous_gtids_log_event when @@GLOBAL.GTID_MODE = OFF.
ER_FOUND_GTID_EVENT_WHEN_GTID_MODE_IS_OFFwas removed after 5.7.5. -
Error:
1784SQLSTATE:HY000(ER_FOUND_GTID_EVENT_WHEN_GTID_MODE_IS_OFF__UNUSED)Message: Found a Gtid_log_event when @@GLOBAL.GTID_MODE = OFF.
ER_FOUND_GTID_EVENT_WHEN_GTID_MODE_IS_OFF__UNUSEDwas added in 5.7.6. -
Error:
1785SQLSTATE:HY000(ER_GTID_UNSAFE_NON_TRANSACTIONAL_TABLE)Message: Statement violates GTID consistency: Updates to non-transactional tables can only be done in either autocommitted statements or single-statement transactions, and never in the same statement as updates to transactional tables.
-
Error:
1786SQLSTATE:HY000(ER_GTID_UNSAFE_CREATE_SELECT)Message: Statement violates GTID consistency: CREATE TABLE ... SELECT.
-
Error:
1787SQLSTATE:HY000(ER_GTID_UNSAFE_CREATE_DROP_TEMPORARY_TABLE_IN_TRANSACTION)Message: Statement violates GTID consistency: CREATE TEMPORARY TABLE and DROP TEMPORARY TABLE can only be executed outside transactional context.
-
Error:
1788SQLSTATE:HY000(ER_GTID_MODE_CAN_ONLY_CHANGE_ONE_STEP_AT_A_TIME)Message: The value of @@GLOBAL.GTID_MODE can only be changed one step at a time: OFF <-> OFF_PERMISSIVE <-> ON_PERMISSIVE <-> ON. Also note that this value must be stepped up or down simultaneously on all servers. See the Manual for instructions.
-
Error:
1789SQLSTATE:HY000(ER_MASTER_HAS_PURGED_REQUIRED_GTIDS)Message: The slave is connecting using CHANGE MASTER TO MASTER_AUTO_POSITION = 1, but the master has purged binary logs containing GTIDs that the slave requires.
-
Error:
1790SQLSTATE:HY000(ER_CANT_SET_GTID_NEXT_WHEN_OWNING_GTID)Message: @@SESSION.GTID_NEXT cannot be changed by a client that owns a GTID. The client owns %s. Ownership is released on COMMIT or ROLLBACK.
-
Error:
1791SQLSTATE:HY000(ER_UNKNOWN_EXPLAIN_FORMAT)Message: Unknown EXPLAIN format name: '%s'
-
Error:
1792SQLSTATE:25006(ER_CANT_EXECUTE_IN_READ_ONLY_TRANSACTION)Message: Cannot execute statement in a READ ONLY transaction.
-
Error:
1793SQLSTATE:HY000(ER_TOO_LONG_TABLE_PARTITION_COMMENT)Message: Comment for table partition '%s' is too long (max = %lu)
-
Error:
1794SQLSTATE:HY000(ER_SLAVE_CONFIGURATION)Message: Slave is not configured or failed to initialize properly. You must at least set --server-id to enable either a master or a slave. Additional error messages can be found in the MySQL error log.
-
Error:
1795SQLSTATE:HY000(ER_INNODB_FT_LIMIT)Message: InnoDB presently supports one FULLTEXT index creation at a time
-
Error:
1796SQLSTATE:HY000(ER_INNODB_NO_FT_TEMP_TABLE)Message: Cannot create FULLTEXT index on temporary InnoDB table
-
Error:
1797SQLSTATE:HY000(ER_INNODB_FT_WRONG_DOCID_COLUMN)Message: Column '%s' is of wrong type for an InnoDB FULLTEXT index
-
Error:
1798SQLSTATE:HY000(ER_INNODB_FT_WRONG_DOCID_INDEX)Message: Index '%s' is of wrong type for an InnoDB FULLTEXT index
-
Error:
1799SQLSTATE:HY000(ER_INNODB_ONLINE_LOG_TOO_BIG)Message: Creating index '%s' required more than 'innodb_online_alter_log_max_size' bytes of modification log. Please try again.
-
Error:
1800SQLSTATE:HY000(ER_UNKNOWN_ALTER_ALGORITHM)Message: Unknown ALGORITHM '%s'
-
Error:
1801SQLSTATE:HY000(ER_UNKNOWN_ALTER_LOCK)Message: Unknown LOCK type '%s'
-
Error:
1802SQLSTATE:HY000(ER_MTS_CHANGE_MASTER_CANT_RUN_WITH_GAPS)Message: CHANGE MASTER cannot be executed when the slave was stopped with an error or killed in MTS mode. Consider using RESET SLAVE or START SLAVE UNTIL.
-
Error:
1803SQLSTATE:HY000(ER_MTS_RECOVERY_FAILURE)Message: Cannot recover after SLAVE errored out in parallel execution mode. Additional error messages can be found in the MySQL error log.
-
Error:
1804SQLSTATE:HY000(ER_MTS_RESET_WORKERS)Message: Cannot clean up worker info tables. Additional error messages can be found in the MySQL error log.
-
Error:
1805SQLSTATE:HY000(ER_COL_COUNT_DOESNT_MATCH_CORRUPTED_V2)Message: Column count of %s.%s is wrong. Expected %d, found %d. The table is probably corrupted
-
Error:
1806SQLSTATE:HY000(ER_SLAVE_SILENT_RETRY_TRANSACTION)Message: Slave must silently retry current transaction
-
Error:
1807SQLSTATE:HY000(ER_DISCARD_FK_CHECKS_RUNNING)Message: There is a foreign key check running on table '%s'. Cannot discard the table.
-
Error:
1808SQLSTATE:HY000(ER_TABLE_SCHEMA_MISMATCH)Message: Schema mismatch (%s)
-
Error:
1809SQLSTATE:HY000(ER_TABLE_IN_SYSTEM_TABLESPACE)Message: Table '%s' in system tablespace
-
Error:
1810SQLSTATE:HY000(ER_IO_READ_ERROR)Message: IO Read error: (%lu, %s) %s
-
Error:
1811SQLSTATE:HY000(ER_IO_WRITE_ERROR)Message: IO Write error: (%lu, %s) %s
-
Error:
1812SQLSTATE:HY000(ER_TABLESPACE_MISSING)Message: Tablespace is missing for table %s.
-
Error:
1813SQLSTATE:HY000(ER_TABLESPACE_EXISTS)Message: Tablespace '%s' exists.
-
Error:
1814SQLSTATE:HY000(ER_TABLESPACE_DISCARDED)Message: Tablespace has been discarded for table '%s'
-
Error:
1815SQLSTATE:HY000(ER_INTERNAL_ERROR)Message: Internal error: %s
-
Error:
1816SQLSTATE:HY000(ER_INNODB_IMPORT_ERROR)Message: ALTER TABLE %s IMPORT TABLESPACE failed with error %lu : '%s'
-
Error:
1817SQLSTATE:HY000(ER_INNODB_INDEX_CORRUPT)Message: Index corrupt: %s
-
Error:
1818SQLSTATE:HY000(ER_INVALID_YEAR_COLUMN_LENGTH)Message: Supports only YEAR or YEAR(4) column.
-
Error:
1819SQLSTATE:HY000(ER_NOT_VALID_PASSWORD)Message: Your password does not satisfy the current policy requirements
-
Error:
1820SQLSTATE:HY000(ER_MUST_CHANGE_PASSWORD)Message: You must reset your password using ALTER USER statement before executing this statement.
-
Error:
1821SQLSTATE:HY000(ER_FK_NO_INDEX_CHILD)Message: Failed to add the foreign key constaint. Missing index for constraint '%s' in the foreign table '%s'
-
Error:
1822SQLSTATE:HY000(ER_FK_NO_INDEX_PARENT)Message: Failed to add the foreign key constaint. Missing index for constraint '%s' in the referenced table '%s'
-
Error:
1823SQLSTATE:HY000(ER_FK_FAIL_ADD_SYSTEM)Message: Failed to add the foreign key constraint '%s' to system tables
-
Error:
1824SQLSTATE:HY000(ER_FK_CANNOT_OPEN_PARENT)Message: Failed to open the referenced table '%s'
-
Error:
1825SQLSTATE:HY000(ER_FK_INCORRECT_OPTION)Message: Failed to add the foreign key constraint on table '%s'. Incorrect options in FOREIGN KEY constraint '%s'
-
Error:
1826SQLSTATE:HY000(ER_FK_DUP_NAME)Message: Duplicate foreign key constraint name '%s'
-
Error:
1827SQLSTATE:HY000(ER_PASSWORD_FORMAT)Message: The password hash doesn't have the expected format. Check if the correct password algorithm is being used with the PASSWORD() function.
-
Error:
1828SQLSTATE:HY000(ER_FK_COLUMN_CANNOT_DROP)Message: Cannot drop column '%s': needed in a foreign key constraint '%s'
-
Error:
1829SQLSTATE:HY000(ER_FK_COLUMN_CANNOT_DROP_CHILD)Message: Cannot drop column '%s': needed in a foreign key constraint '%s' of table '%s'
-
Error:
1830SQLSTATE:HY000(ER_FK_COLUMN_NOT_NULL)Message: Column '%s' cannot be NOT NULL: needed in a foreign key constraint '%s' SET NULL
-
Error:
1831SQLSTATE:HY000(ER_DUP_INDEX)Message: Duplicate index '%s' defined on the table '%s.%s'. This is deprecated and will be disallowed in a future release.
-
Error:
1832SQLSTATE:HY000(ER_FK_COLUMN_CANNOT_CHANGE)Message: Cannot change column '%s': used in a foreign key constraint '%s'
-
Error:
1833SQLSTATE:HY000(ER_FK_COLUMN_CANNOT_CHANGE_CHILD)Message: Cannot change column '%s': used in a foreign key constraint '%s' of table '%s'
-
Error:
1834SQLSTATE:HY000(ER_FK_CANNOT_DELETE_PARENT)Message: Cannot delete rows from table which is parent in a foreign key constraint '%s' of table '%s'
ER_FK_CANNOT_DELETE_PARENTwas removed after 5.7.3. -
Error:
1834SQLSTATE:HY000(ER_UNUSED5)Message: Cannot delete rows from table which is parent in a foreign key constraint '%s' of table '%s'
ER_UNUSED5was added in 5.7.4. -
Error:
1835SQLSTATE:HY000(ER_MALFORMED_PACKET)Message: Malformed communication packet.
-
Error:
1836SQLSTATE:HY000(ER_READ_ONLY_MODE)Message: Running in read-only mode
-
Error:
1837SQLSTATE:HY000(ER_GTID_NEXT_TYPE_UNDEFINED_GROUP)Message: When @@SESSION.GTID_NEXT is set to a GTID, you must explicitly set it to a different value after a COMMIT or ROLLBACK. Please check GTID_NEXT variable manual page for detailed explanation. Current @@SESSION.GTID_NEXT is '%s'.
-
Error:
1838SQLSTATE:HY000(ER_VARIABLE_NOT_SETTABLE_IN_SP)Message: The system variable %s cannot be set in stored procedures.
-
Error:
1839SQLSTATE:HY000(ER_CANT_SET_GTID_PURGED_WHEN_GTID_MODE_IS_OFF)Message: @@GLOBAL.GTID_PURGED can only be set when @@GLOBAL.GTID_MODE = ON.
-
Error:
1840SQLSTATE:HY000(ER_CANT_SET_GTID_PURGED_WHEN_GTID_EXECUTED_IS_NOT_EMPTY)Message: @@GLOBAL.GTID_PURGED can only be set when @@GLOBAL.GTID_EXECUTED is empty.
-
Error:
1841SQLSTATE:HY000(ER_CANT_SET_GTID_PURGED_WHEN_OWNED_GTIDS_IS_NOT_EMPTY)Message: @@GLOBAL.GTID_PURGED can only be set when there are no ongoing transactions (not even in other clients).
-
Error:
1842SQLSTATE:HY000(ER_GTID_PURGED_WAS_CHANGED)Message: @@GLOBAL.GTID_PURGED was changed from '%s' to '%s'.
-
Error:
1843SQLSTATE:HY000(ER_GTID_EXECUTED_WAS_CHANGED)Message: @@GLOBAL.GTID_EXECUTED was changed from '%s' to '%s'.
-
Error:
1844SQLSTATE:HY000(ER_BINLOG_STMT_MODE_AND_NO_REPL_TABLES)Message: Cannot execute statement: impossible to write to binary log since BINLOG_FORMAT = STATEMENT, and both replicated and non replicated tables are written to.
-
Error:
1845SQLSTATE:0A000(ER_ALTER_OPERATION_NOT_SUPPORTED)Message: %s is not supported for this operation. Try %s.
ER_ALTER_OPERATION_NOT_SUPPORTEDwas added in 5.7.1. -
Error:
1846SQLSTATE:0A000(ER_ALTER_OPERATION_NOT_SUPPORTED_REASON)Message: %s is not supported. Reason: %s. Try %s.
ER_ALTER_OPERATION_NOT_SUPPORTED_REASONwas added in 5.7.1. -
Error:
1847SQLSTATE:HY000(ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_COPY)Message: COPY algorithm requires a lock
ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_COPYwas added in 5.7.1. -
Error:
1848SQLSTATE:HY000(ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_PARTITION)Message: Partition specific operations do not yet support LOCK/ALGORITHM
ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_PARTITIONwas added in 5.7.1. -
Error:
1849SQLSTATE:HY000(ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_FK_RENAME)Message: Columns participating in a foreign key are renamed
ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_FK_RENAMEwas added in 5.7.1. -
Error:
1850SQLSTATE:HY000(ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_COLUMN_TYPE)Message: Cannot change column type INPLACE
ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_COLUMN_TYPEwas added in 5.7.1. -
Error:
1851SQLSTATE:HY000(ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_FK_CHECK)Message: Adding foreign keys needs foreign_key_checks=OFF
ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_FK_CHECKwas added in 5.7.1. -
Error:
1852SQLSTATE:HY000(ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_IGNORE)Message: Creating unique indexes with IGNORE requires COPY algorithm to remove duplicate rows
ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_IGNOREwas added in 5.7.1, removed after 5.7.3. -
Error:
1852SQLSTATE:HY000(ER_UNUSED6)Message: Creating unique indexes with IGNORE requires COPY algorithm to remove duplicate rows
ER_UNUSED6was added in 5.7.4. -
Error:
1853SQLSTATE:HY000(ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_NOPK)Message: Dropping a primary key is not allowed without also adding a new primary key
ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_NOPKwas added in 5.7.1. -
Error:
1854SQLSTATE:HY000(ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_AUTOINC)Message: Adding an auto-increment column requires a lock
ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_AUTOINCwas added in 5.7.1. -
Error:
1855SQLSTATE:HY000(ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_HIDDEN_FTS)Message: Cannot replace hidden FTS_DOC_ID with a user-visible one
ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_HIDDEN_FTSwas added in 5.7.1. -
Error:
1856SQLSTATE:HY000(ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_CHANGE_FTS)Message: Cannot drop or rename FTS_DOC_ID
ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_CHANGE_FTSwas added in 5.7.1. -
Error:
1857SQLSTATE:HY000(ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_FTS)Message: Fulltext index creation requires a lock
ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_FTSwas added in 5.7.1. -
Error:
1858SQLSTATE:HY000(ER_SQL_SLAVE_SKIP_COUNTER_NOT_SETTABLE_IN_GTID_MODE)Message: sql_slave_skip_counter can not be set when the server is running with @@GLOBAL.GTID_MODE = ON. Instead, for each transaction that you want to skip, generate an empty transaction with the same GTID as the transaction
ER_SQL_SLAVE_SKIP_COUNTER_NOT_SETTABLE_IN_GTID_MODEwas added in 5.7.1. -
Error:
1859SQLSTATE:23000(ER_DUP_UNKNOWN_IN_INDEX)Message: Duplicate entry for key '%s'
ER_DUP_UNKNOWN_IN_INDEXwas added in 5.7.1. -
Error:
1860SQLSTATE:HY000(ER_IDENT_CAUSES_TOO_LONG_PATH)Message: Long database name and identifier for object resulted in path length exceeding %d characters. Path: '%s'.
ER_IDENT_CAUSES_TOO_LONG_PATHwas added in 5.7.1. -
Error:
1861SQLSTATE:HY000(ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_NOT_NULL)Message: cannot silently convert NULL values, as required in this SQL_MODE
ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_NOT_NULLwas added in 5.7.1. -
Error:
1862SQLSTATE:HY000(ER_MUST_CHANGE_PASSWORD_LOGIN)Message: Your password has expired. To log in you must change it using a client that supports expired passwords.
ER_MUST_CHANGE_PASSWORD_LOGINwas added in 5.7.1. -
Error:
1863SQLSTATE:HY000(ER_ROW_IN_WRONG_PARTITION)Message: Found a row in wrong partition %s
ER_ROW_IN_WRONG_PARTITIONwas added in 5.7.1. -
Error:
1864SQLSTATE:HY000(ER_MTS_EVENT_BIGGER_PENDING_JOBS_SIZE_MAX)Message: Cannot schedule event %s, relay-log name %s, position %s to Worker thread because its size %lu exceeds %lu of slave_pending_jobs_size_max.
ER_MTS_EVENT_BIGGER_PENDING_JOBS_SIZE_MAXwas added in 5.7.2. -
Error:
1865SQLSTATE:HY000(ER_INNODB_NO_FT_USES_PARSER)Message: Cannot CREATE FULLTEXT INDEX WITH PARSER on InnoDB table
ER_INNODB_NO_FT_USES_PARSERwas added in 5.7.2. -
Error:
1866SQLSTATE:HY000(ER_BINLOG_LOGICAL_CORRUPTION)Message: The binary log file '%s' is logically corrupted: %s
ER_BINLOG_LOGICAL_CORRUPTIONwas added in 5.7.2. -
Error:
1867SQLSTATE:HY000(ER_WARN_PURGE_LOG_IN_USE)Message: file %s was not purged because it was being read by %d thread(s), purged only %d out of %d files.
ER_WARN_PURGE_LOG_IN_USEwas added in 5.7.2. -
Error:
1868SQLSTATE:HY000(ER_WARN_PURGE_LOG_IS_ACTIVE)Message: file %s was not purged because it is the active log file.
ER_WARN_PURGE_LOG_IS_ACTIVEwas added in 5.7.2. -
Error:
1869SQLSTATE:HY000(ER_AUTO_INCREMENT_CONFLICT)Message: Auto-increment value in UPDATE conflicts with internally generated values
ER_AUTO_INCREMENT_CONFLICTwas added in 5.7.2. -
Error:
1870SQLSTATE:HY000(WARN_ON_BLOCKHOLE_IN_RBR)Message: Row events are not logged for %s statements that modify BLACKHOLE tables in row format. Table(s): '%s'
WARN_ON_BLOCKHOLE_IN_RBRwas added in 5.7.2. -
Error:
1871SQLSTATE:HY000(ER_SLAVE_MI_INIT_REPOSITORY)Message: Slave failed to initialize master info structure from the repository
ER_SLAVE_MI_INIT_REPOSITORYwas added in 5.7.2. -
Error:
1872SQLSTATE:HY000(ER_SLAVE_RLI_INIT_REPOSITORY)Message: Slave failed to initialize relay log info structure from the repository
ER_SLAVE_RLI_INIT_REPOSITORYwas added in 5.7.2. -
Error:
1873SQLSTATE:28000(ER_ACCESS_DENIED_CHANGE_USER_ERROR)Message: Access denied trying to change to user '%s'@'%s' (using password: %s). Disconnecting.
ER_ACCESS_DENIED_CHANGE_USER_ERRORwas added in 5.7.2. -
Error:
1874SQLSTATE:HY000(ER_INNODB_READ_ONLY)Message: InnoDB is in read only mode.
ER_INNODB_READ_ONLYwas added in 5.7.2. -
Error:
1875SQLSTATE:HY000(ER_STOP_SLAVE_SQL_THREAD_TIMEOUT)Message: STOP SLAVE command execution is incomplete: Slave SQL thread got the stop signal, thread is busy, SQL thread will stop once the current task is complete.
ER_STOP_SLAVE_SQL_THREAD_TIMEOUTwas added in 5.7.2. -
Error:
1876SQLSTATE:HY000(ER_STOP_SLAVE_IO_THREAD_TIMEOUT)Message: STOP SLAVE command execution is incomplete: Slave IO thread got the stop signal, thread is busy, IO thread will stop once the current task is complete.
ER_STOP_SLAVE_IO_THREAD_TIMEOUTwas added in 5.7.2. -
Error:
1877SQLSTATE:HY000(ER_TABLE_CORRUPT)Message: Operation cannot be performed. The table '%s.%s' is missing, corrupt or contains bad data.
ER_TABLE_CORRUPTwas added in 5.7.2. -
Error:
1878SQLSTATE:HY000(ER_TEMP_FILE_WRITE_FAILURE)Message: Temporary file write failure.
ER_TEMP_FILE_WRITE_FAILUREwas added in 5.7.3. -
Error:
1879SQLSTATE:HY000(ER_INNODB_FT_AUX_NOT_HEX_ID)Message: Upgrade index name failed, please use create index(alter table) algorithm copy to rebuild index.
ER_INNODB_FT_AUX_NOT_HEX_IDwas added in 5.7.4. -
Error:
1880SQLSTATE:HY000(ER_OLD_TEMPORALS_UPGRADED)Message: TIME/TIMESTAMP/DATETIME columns of old format have been upgraded to the new format.
ER_OLD_TEMPORALS_UPGRADEDwas added in 5.7.4. -
Error:
1881SQLSTATE:HY000(ER_INNODB_FORCED_RECOVERY)Message: Operation not allowed when innodb_forced_recovery > 0.
ER_INNODB_FORCED_RECOVERYwas added in 5.7.4. -
Error:
1882SQLSTATE:HY000(ER_AES_INVALID_IV)Message: The initialization vector supplied to %s is too short. Must be at least %d bytes long
ER_AES_INVALID_IVwas added in 5.7.4. -
Error:
1883SQLSTATE:HY000(ER_PLUGIN_CANNOT_BE_UNINSTALLED)Message: Plugin '%s' cannot be uninstalled now. %s
ER_PLUGIN_CANNOT_BE_UNINSTALLEDwas added in 5.7.5. -
Error:
1884SQLSTATE:HY000(ER_GTID_UNSAFE_BINLOG_SPLITTABLE_STATEMENT_AND_GTID_GROUP)Message: Cannot execute statement because it needs to be written to the binary log as multiple statements, and this is not allowed when @@SESSION.GTID_NEXT == 'UUID:NUMBER'.
ER_GTID_UNSAFE_BINLOG_SPLITTABLE_STATEMENT_AND_GTID_GROUPwas added in 5.7.5. -
Error:
1885SQLSTATE:HY000(ER_SLAVE_HAS_MORE_GTIDS_THAN_MASTER)Message: Slave has more GTIDs than the master has, using the master's SERVER_UUID. This may indicate that the end of the binary log was truncated or that the last binary log file was lost, e.g., after a power or disk failure when sync_binlog != 1. The master may or may not have rolled back transactions that were already replicated to the slave. Suggest to replicate any transactions that master has rolled back from slave to master, and/or commit empty transactions on master to account for transactions that have been committed on master but are not included in GTID_EXECUTED.
ER_SLAVE_HAS_MORE_GTIDS_THAN_MASTERwas added in 5.7.6. -
Error:
1906SQLSTATE:HY000(ER_SLAVE_IO_THREAD_MUST_STOP)Message: This operation cannot be performed with a running slave io thread; run STOP SLAVE IO_THREAD first.
ER_SLAVE_IO_THREAD_MUST_STOPwas added in 5.7.4, removed after 5.7.5. -
Error:
3000SQLSTATE:HY000(ER_FILE_CORRUPT)Message: File %s is corrupted
-
Error:
3001SQLSTATE:HY000(ER_ERROR_ON_MASTER)Message: Query partially completed on the master (error on master: %d) and was aborted. There is a chance that your master is inconsistent at this point. If you are sure that your master is ok, run this query manually on the slave and then restart the slave with SET GLOBAL SQL_SLAVE_SKIP_COUNTER=1; START SLAVE;. Query:'%s'
-
Error:
3002SQLSTATE:HY000(ER_INCONSISTENT_ERROR)Message: Query caused different errors on master and slave. Error on master: message (format)='%s' error code=%d; Error on slave:actual message='%s', error code=%d. Default database:'%s'. Query:'%s'
-
Error:
3003SQLSTATE:HY000(ER_STORAGE_ENGINE_NOT_LOADED)Message: Storage engine for table '%s'.'%s' is not loaded.
-
Error:
3004SQLSTATE:0Z002(ER_GET_STACKED_DA_WITHOUT_ACTIVE_HANDLER)Message: GET STACKED DIAGNOSTICS when handler not active
-
Error:
3005SQLSTATE:HY000(ER_WARN_LEGACY_SYNTAX_CONVERTED)Message: %s is no longer supported. The statement was converted to %s.
-
Error:
3006SQLSTATE:HY000(ER_BINLOG_UNSAFE_FULLTEXT_PLUGIN)Message: Statement is unsafe because it uses a fulltext parser plugin which may not return the same value on the slave.
ER_BINLOG_UNSAFE_FULLTEXT_PLUGINwas added in 5.7.1. -
Error:
3007SQLSTATE:HY000(ER_CANNOT_DISCARD_TEMPORARY_TABLE)Message: Cannot DISCARD/IMPORT tablespace associated with temporary table
ER_CANNOT_DISCARD_TEMPORARY_TABLEwas added in 5.7.1. -
Error:
3008SQLSTATE:HY000(ER_FK_DEPTH_EXCEEDED)Message: Foreign key cascade delete/update exceeds max depth of %d.
ER_FK_DEPTH_EXCEEDEDwas added in 5.7.2. -
Error:
3009SQLSTATE:HY000(ER_COL_COUNT_DOESNT_MATCH_PLEASE_UPDATE_V2)Message: Column count of %s.%s is wrong. Expected %d, found %d. Created with MySQL %d, now running %d. Please use mysql_upgrade to fix this error.
ER_COL_COUNT_DOESNT_MATCH_PLEASE_UPDATE_V2was added in 5.7.2. -
Error:
3010SQLSTATE:HY000(ER_WARN_TRIGGER_DOESNT_HAVE_CREATED)Message: Trigger %s.%s.%s does not have CREATED attribute.
ER_WARN_TRIGGER_DOESNT_HAVE_CREATEDwas added in 5.7.2. -
Error:
3011SQLSTATE:HY000(ER_REFERENCED_TRG_DOES_NOT_EXIST)Message: Referenced trigger '%s' for the given action time and event type does not exist.
ER_REFERENCED_TRG_DOES_NOT_EXISTwas added in 5.7.2. -
Error:
3012SQLSTATE:HY000(ER_EXPLAIN_NOT_SUPPORTED)Message: EXPLAIN FOR CONNECTION command is supported only for SELECT/UPDATE/INSERT/DELETE/REPLACE
ER_EXPLAIN_NOT_SUPPORTEDwas added in 5.7.2. -
Error:
3013SQLSTATE:HY000(ER_INVALID_FIELD_SIZE)Message: Invalid size for column '%s'.
ER_INVALID_FIELD_SIZEwas added in 5.7.2. -
Error:
3014SQLSTATE:HY000(ER_MISSING_HA_CREATE_OPTION)Message: Table storage engine '%s' found required create option missing
ER_MISSING_HA_CREATE_OPTIONwas added in 5.7.2. -
Error:
3015SQLSTATE:HY000(ER_ENGINE_OUT_OF_MEMORY)Message: Out of memory in storage engine '%s'.
ER_ENGINE_OUT_OF_MEMORYwas added in 5.7.3. -
Error:
3016SQLSTATE:HY000(ER_PASSWORD_EXPIRE_ANONYMOUS_USER)Message: The password for anonymous user cannot be expired.
ER_PASSWORD_EXPIRE_ANONYMOUS_USERwas added in 5.7.3. -
Error:
3017SQLSTATE:HY000(ER_SLAVE_SQL_THREAD_MUST_STOP)Message: This operation cannot be performed with a running slave sql thread; run STOP SLAVE SQL_THREAD first
ER_SLAVE_SQL_THREAD_MUST_STOPwas added in 5.7.3. -
Error:
3018SQLSTATE:HY000(ER_NO_FT_MATERIALIZED_SUBQUERY)Message: Cannot create FULLTEXT index on materialized subquery
ER_NO_FT_MATERIALIZED_SUBQUERYwas added in 5.7.4. -
Error:
3019SQLSTATE:HY000(ER_INNODB_UNDO_LOG_FULL)Message: Undo Log error: %s
ER_INNODB_UNDO_LOG_FULLwas added in 5.7.4. -
Error:
3020SQLSTATE:2201E(ER_INVALID_ARGUMENT_FOR_LOGARITHM)Message: Invalid argument for logarithm
ER_INVALID_ARGUMENT_FOR_LOGARITHMwas added in 5.7.4. -
Error:
3021SQLSTATE:HY000(ER_SLAVE_CHANNEL_IO_THREAD_MUST_STOP)Message: This operation cannot be performed with a running slave io thread; run STOP SLAVE IO_THREAD FOR CHANNEL '%s' first.
ER_SLAVE_CHANNEL_IO_THREAD_MUST_STOPwas added in 5.7.6. -
Error:
3022SQLSTATE:HY000(ER_WARN_OPEN_TEMP_TABLES_MUST_BE_ZERO)Message: This operation may not be safe when the slave has temporary tables. The tables will be kept open until the server restarts or until the tables are deleted by any replicated DROP statement. Suggest to wait until slave_open_temp_tables = 0.
ER_WARN_OPEN_TEMP_TABLES_MUST_BE_ZEROwas added in 5.7.4. -
Error:
3023SQLSTATE:HY000(ER_WARN_ONLY_MASTER_LOG_FILE_NO_POS)Message: CHANGE MASTER TO with a MASTER_LOG_FILE clause but no MASTER_LOG_POS clause may not be safe. The old position value may not be valid for the new binary log file.
ER_WARN_ONLY_MASTER_LOG_FILE_NO_POSwas added in 5.7.4. -
Error:
3024SQLSTATE:HY000(ER_QUERY_TIMEOUT)Message: Query execution was interrupted, maximum statement execution time exceeded
ER_QUERY_TIMEOUTwas added in 5.7.4. -
Error:
3025SQLSTATE:HY000(ER_NON_RO_SELECT_DISABLE_TIMER)Message: Select is not a read only statement, disabling timer
ER_NON_RO_SELECT_DISABLE_TIMERwas added in 5.7.4. -
Error:
3026SQLSTATE:HY000(ER_DUP_LIST_ENTRY)Message: Duplicate entry '%s'.
ER_DUP_LIST_ENTRYwas added in 5.7.4. -
Error:
3027SQLSTATE:HY000(ER_SQL_MODE_NO_EFFECT)Message: '%s' mode no longer has any effect. Use STRICT_ALL_TABLES or STRICT_TRANS_TABLES instead.
ER_SQL_MODE_NO_EFFECTwas added in 5.7.4. -
Error:
3028SQLSTATE:HY000(ER_AGGREGATE_ORDER_FOR_UNION)Message: Expression #%u of ORDER BY contains aggregate function and applies to a UNION
ER_AGGREGATE_ORDER_FOR_UNIONwas added in 5.7.5. -
Error:
3029SQLSTATE:HY000(ER_AGGREGATE_ORDER_NON_AGG_QUERY)Message: Expression #%u of ORDER BY contains aggregate function and applies to the result of a non-aggregated query
ER_AGGREGATE_ORDER_NON_AGG_QUERYwas added in 5.7.5. -
Error:
3030SQLSTATE:HY000(ER_SLAVE_WORKER_STOPPED_PREVIOUS_THD_ERROR)Message: Slave worker has stopped after at least one previous worker encountered an error when slave-preserve-commit-order was enabled. To preserve commit order, the last transaction executed by this thread has not been committed. When restarting the slave after fixing any failed threads, you should fix this worker as well.
ER_SLAVE_WORKER_STOPPED_PREVIOUS_THD_ERRORwas added in 5.7.5. -
Error:
3031SQLSTATE:HY000(ER_DONT_SUPPORT_SLAVE_PRESERVE_COMMIT_ORDER)Message: slave_preserve_commit_order is not supported %s.
ER_DONT_SUPPORT_SLAVE_PRESERVE_COMMIT_ORDERwas added in 5.7.5. -
Error:
3032SQLSTATE:HY000(ER_SERVER_OFFLINE_MODE)Message: The server is currently in offline mode
ER_SERVER_OFFLINE_MODEwas added in 5.7.5. -
Error:
3033SQLSTATE:HY000(ER_GIS_DIFFERENT_SRIDS)Message: Binary geometry function %s given two geometries of different srids: %u and %u, which should have been identical.
Geometry values passed as arguments to spatial functions must have the same SRID value.
ER_GIS_DIFFERENT_SRIDSwas added in 5.7.5. -
Error:
3034SQLSTATE:HY000(ER_GIS_UNSUPPORTED_ARGUMENT)Message: Calling geometry function %s with unsupported types of arguments.
A spatial function was called with a combination of argument types that the function does not support.
ER_GIS_UNSUPPORTED_ARGUMENTwas added in 5.7.5. -
Error:
3035SQLSTATE:HY000(ER_GIS_UNKNOWN_ERROR)Message: Unknown GIS error occured in function %s.
ER_GIS_UNKNOWN_ERRORwas added in 5.7.5. -
Error:
3036SQLSTATE:HY000(ER_GIS_UNKNOWN_EXCEPTION)Message: Unknown exception caught in GIS function %s.
ER_GIS_UNKNOWN_EXCEPTIONwas added in 5.7.5. -
Error:
3037SQLSTATE:22023(ER_GIS_INVALID_DATA)Message: Invalid GIS data provided to function %s.
A spatial function was called with an argument not recognized as a valid geometry value.
ER_GIS_INVALID_DATAwas added in 5.7.5. -
Error:
3038SQLSTATE:HY000(ER_BOOST_GEOMETRY_EMPTY_INPUT_EXCEPTION)Message: The geometry has no data in function %s.
ER_BOOST_GEOMETRY_EMPTY_INPUT_EXCEPTIONwas added in 5.7.5. -
Error:
3039SQLSTATE:HY000(ER_BOOST_GEOMETRY_CENTROID_EXCEPTION)Message: Unable to calculate centroid because geometry is empty in function %s.
ER_BOOST_GEOMETRY_CENTROID_EXCEPTIONwas added in 5.7.5. -
Error:
3040SQLSTATE:HY000(ER_BOOST_GEOMETRY_OVERLAY_INVALID_INPUT_EXCEPTION)Message: Geometry overlay calculation error: geometry data is invalid in function %s.
ER_BOOST_GEOMETRY_OVERLAY_INVALID_INPUT_EXCEPTIONwas added in 5.7.5. -
Error:
3041SQLSTATE:HY000(ER_BOOST_GEOMETRY_TURN_INFO_EXCEPTION)Message: Geometry turn info calculation error: geometry data is invalid in function %s.
ER_BOOST_GEOMETRY_TURN_INFO_EXCEPTIONwas added in 5.7.5. -
Error:
3042SQLSTATE:HY000(ER_BOOST_GEOMETRY_SELF_INTERSECTION_POINT_EXCEPTION)Message: Analysis procedures of intersection points interrupted unexpectedly in function %s.
ER_BOOST_GEOMETRY_SELF_INTERSECTION_POINT_EXCEPTIONwas added in 5.7.5. -
Error:
3043SQLSTATE:HY000(ER_BOOST_GEOMETRY_UNKNOWN_EXCEPTION)Message: Unknown exception thrown in function %s.
ER_BOOST_GEOMETRY_UNKNOWN_EXCEPTIONwas added in 5.7.5. -
Error:
3044SQLSTATE:HY000(ER_STD_BAD_ALLOC_ERROR)Message: Memory allocation error: %s in function %s.
ER_STD_BAD_ALLOC_ERRORwas added in 5.7.5. -
Error:
3045SQLSTATE:HY000(ER_STD_DOMAIN_ERROR)Message: Domain error: %s in function %s.
ER_STD_DOMAIN_ERRORwas added in 5.7.5. -
Error:
3046SQLSTATE:HY000(ER_STD_LENGTH_ERROR)Message: Length error: %s in function %s.
ER_STD_LENGTH_ERRORwas added in 5.7.5. -
Error:
3047SQLSTATE:HY000(ER_STD_INVALID_ARGUMENT)Message: Invalid argument error: %s in function %s.
ER_STD_INVALID_ARGUMENTwas added in 5.7.5. -
Error:
3048SQLSTATE:HY000(ER_STD_OUT_OF_RANGE_ERROR)Message: Out of range error: %s in function %s.
ER_STD_OUT_OF_RANGE_ERRORwas added in 5.7.5. -
Error:
3049SQLSTATE:HY000(ER_STD_OVERFLOW_ERROR)Message: Overflow error error: %s in function %s.
ER_STD_OVERFLOW_ERRORwas added in 5.7.5. -
Error:
3050SQLSTATE:HY000(ER_STD_RANGE_ERROR)Message: Range error: %s in function %s.
ER_STD_RANGE_ERRORwas added in 5.7.5. -
Error:
3051SQLSTATE:HY000(ER_STD_UNDERFLOW_ERROR)Message: Underflow error: %s in function %s.
ER_STD_UNDERFLOW_ERRORwas added in 5.7.5. -
Error:
3052SQLSTATE:HY000(ER_STD_LOGIC_ERROR)Message: Logic error: %s in function %s.
ER_STD_LOGIC_ERRORwas added in 5.7.5. -
Error:
3053SQLSTATE:HY000(ER_STD_RUNTIME_ERROR)Message: Runtime error: %s in function %s.
ER_STD_RUNTIME_ERRORwas added in 5.7.5. -
Error:
3054SQLSTATE:HY000(ER_STD_UNKNOWN_EXCEPTION)Message: Unknown exception: %s in function %s.
ER_STD_UNKNOWN_EXCEPTIONwas added in 5.7.5. -
Error:
3055SQLSTATE:HY000(ER_GIS_DATA_WRONG_ENDIANESS)Message: Geometry byte string must be little endian.
ER_GIS_DATA_WRONG_ENDIANESSwas added in 5.7.5. -
Error:
3056SQLSTATE:HY000(ER_CHANGE_MASTER_PASSWORD_LENGTH)Message: The password provided for the replication user exceeds the maximum length of 32 characters
ER_CHANGE_MASTER_PASSWORD_LENGTHwas added in 5.7.5. -
Error:
3057SQLSTATE:42000(ER_USER_LOCK_WRONG_NAME)Message: Incorrect user-level lock name '%s'.
ER_USER_LOCK_WRONG_NAMEwas added in 5.7.5. -
Error:
3058SQLSTATE:HY000(ER_USER_LOCK_DEADLOCK)Message: Deadlock found when trying to get user-level lock; try rolling back transaction/releasing locks and restarting lock acquisition.
This error is returned when the metdata locking subsystem detects a deadlock for an attempt to acquire a named lock with
GET_LOCK.ER_USER_LOCK_DEADLOCKwas added in 5.7.5. -
Error:
3059SQLSTATE:HY000(ER_REPLACE_INACCESSIBLE_ROWS)Message: REPLACE cannot be executed as it requires deleting rows that are not in the view
ER_REPLACE_INACCESSIBLE_ROWSwas added in 5.7.5. -
Error:
3060SQLSTATE:HY000(ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_GIS)Message: Do not support online operation on table with GIS index
ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_GISwas added in 5.7.5. -
Error:
3061SQLSTATE:42000(ER_ILLEGAL_USER_VAR)Message: User variable name '%s' is illegal
ER_ILLEGAL_USER_VARwas added in 5.7.5. -
Error:
3062SQLSTATE:HY000(ER_GTID_MODE_OFF)Message: Cannot %s when GTID_MODE = OFF.
ER_GTID_MODE_OFFwas added in 5.7.5. -
Error:
3063SQLSTATE:HY000(ER_UNSUPPORTED_BY_REPLICATION_THREAD)Message: Cannot %s from a replication slave thread.
ER_UNSUPPORTED_BY_REPLICATION_THREADwas added in 5.7.5. -
Error:
3064SQLSTATE:HY000(ER_INCORRECT_TYPE)Message: Incorrect type for argument %s in function %s.
ER_INCORRECT_TYPEwas added in 5.7.5. -
Error:
3065SQLSTATE:HY000(ER_FIELD_IN_ORDER_NOT_SELECT)Message: Expression #%u of ORDER BY clause is not in SELECT list, references column '%s' which is not in SELECT list; this is incompatible with %s
ER_FIELD_IN_ORDER_NOT_SELECTwas added in 5.7.5. -
Error:
3066SQLSTATE:HY000(ER_AGGREGATE_IN_ORDER_NOT_SELECT)Message: Expression #%u of ORDER BY clause is not in SELECT list, contains aggregate function; this is incompatible with %s
ER_AGGREGATE_IN_ORDER_NOT_SELECTwas added in 5.7.5. -
Error:
3067SQLSTATE:HY000(ER_INVALID_RPL_WILD_TABLE_FILTER_PATTERN)Message: Supplied filter list contains a value which is not in the required format 'db_pattern.table_pattern'
ER_INVALID_RPL_WILD_TABLE_FILTER_PATTERNwas added in 5.7.5. -
Error:
3068SQLSTATE:08S01(ER_NET_OK_PACKET_TOO_LARGE)Message: OK packet too large
ER_NET_OK_PACKET_TOO_LARGEwas added in 5.7.5. -
Error:
3069SQLSTATE:HY000(ER_INVALID_JSON_DATA)Message: Invalid JSON data provided to function %s: %s
ER_INVALID_JSON_DATAwas added in 5.7.5. -
Error:
3070SQLSTATE:HY000(ER_INVALID_GEOJSON_MISSING_MEMBER)Message: Invalid GeoJSON data provided to function %s: Missing required member '%s'
ER_INVALID_GEOJSON_MISSING_MEMBERwas added in 5.7.5. -
Error:
3071SQLSTATE:HY000(ER_INVALID_GEOJSON_WRONG_TYPE)Message: Invalid GeoJSON data provided to function %s: Member '%s' must be of type '%s'
ER_INVALID_GEOJSON_WRONG_TYPEwas added in 5.7.5. -
Error:
3072SQLSTATE:HY000(ER_INVALID_GEOJSON_UNSPECIFIED)Message: Invalid GeoJSON data provided to function %s
ER_INVALID_GEOJSON_UNSPECIFIEDwas added in 5.7.5. -
Error:
3073SQLSTATE:HY000(ER_DIMENSION_UNSUPPORTED)Message: Unsupported number of coordinate dimensions in function %s: Found %u, expected %u
ER_DIMENSION_UNSUPPORTEDwas added in 5.7.5. -
Error:
3074SQLSTATE:HY000(ER_SLAVE_CHANNEL_DOES_NOT_EXIST)Message: Slave channel '%s' does not exist.
ER_SLAVE_CHANNEL_DOES_NOT_EXISTwas added in 5.7.6. -
Error:
3075SQLSTATE:HY000(ER_SLAVE_MULTIPLE_CHANNELS_HOST_PORT)Message: A slave channel '%s' already exists for the given host and port combination.
ER_SLAVE_MULTIPLE_CHANNELS_HOST_PORTwas added in 5.7.6. -
Error:
3076SQLSTATE:HY000(ER_SLAVE_CHANNEL_NAME_INVALID_OR_TOO_LONG)Message: Couldn't create channel: Channel name is either invalid or too long.
ER_SLAVE_CHANNEL_NAME_INVALID_OR_TOO_LONGwas added in 5.7.6. -
Error:
3077SQLSTATE:HY000(ER_SLAVE_NEW_CHANNEL_WRONG_REPOSITORY)Message: To have multiple channels, repository cannot be of type FILE; Please check the repository configuration and convert them to TABLE.
ER_SLAVE_NEW_CHANNEL_WRONG_REPOSITORYwas added in 5.7.6. -
Error:
3078SQLSTATE:HY000(ER_SLAVE_CHANNEL_DELETE)Message: Cannot delete slave info objects for channel '%s'.
ER_SLAVE_CHANNEL_DELETEwas added in 5.7.6. -
Error:
3079SQLSTATE:HY000(ER_SLAVE_MULTIPLE_CHANNELS_CMD)Message: Multiple channels exist on the slave. Please provide channel name as an argument.
ER_SLAVE_MULTIPLE_CHANNELS_CMDwas added in 5.7.6. -
Error:
3080SQLSTATE:HY000(ER_SLAVE_MAX_CHANNELS_EXCEEDED)Message: Maximum number of replication channels allowed exceeded.
ER_SLAVE_MAX_CHANNELS_EXCEEDEDwas added in 5.7.6. -
Error:
3081SQLSTATE:HY000(ER_SLAVE_CHANNEL_MUST_STOP)Message: This operation cannot be performed with running replication threads; run STOP SLAVE FOR CHANNEL '%s' first
ER_SLAVE_CHANNEL_MUST_STOPwas added in 5.7.6. -
Error:
3082SQLSTATE:HY000(ER_SLAVE_CHANNEL_NOT_RUNNING)Message: This operation requires running replication threads; configure slave and run START SLAVE FOR CHANNEL '%s'
ER_SLAVE_CHANNEL_NOT_RUNNINGwas added in 5.7.6. -
Error:
3083SQLSTATE:HY000(ER_SLAVE_CHANNEL_WAS_RUNNING)Message: Replication thread(s) for channel '%s' are already runnning.
ER_SLAVE_CHANNEL_WAS_RUNNINGwas added in 5.7.6. -
Error:
3084SQLSTATE:HY000(ER_SLAVE_CHANNEL_WAS_NOT_RUNNING)Message: Replication thread(s) for channel '%s' are already stopped.
ER_SLAVE_CHANNEL_WAS_NOT_RUNNINGwas added in 5.7.6. -
Error:
3085SQLSTATE:HY000(ER_SLAVE_CHANNEL_SQL_THREAD_MUST_STOP)Message: This operation cannot be performed with a running slave sql thread; run STOP SLAVE SQL_THREAD FOR CHANNEL '%s' first.
ER_SLAVE_CHANNEL_SQL_THREAD_MUST_STOPwas added in 5.7.6. -
Error:
3086SQLSTATE:HY000(ER_SLAVE_CHANNEL_SQL_SKIP_COUNTER)Message: When sql_slave_skip_counter > 0, it is not allowed to start more than one SQL thread by using 'START SLAVE [SQL_THREAD]'. Value of sql_slave_skip_counter can only be used by one SQL thread at a time. Please use 'START SLAVE [SQL_THREAD] FOR CHANNEL' to start the SQL thread which will use the value of sql_slave_skip_counter.
ER_SLAVE_CHANNEL_SQL_SKIP_COUNTERwas added in 5.7.6. -
Error:
3087SQLSTATE:HY000(ER_WRONG_FIELD_WITH_GROUP_V2)Message: Expression #%u of %s is not in GROUP BY clause and contains nonaggregated column '%s' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
ER_WRONG_FIELD_WITH_GROUP_V2was added in 5.7.6. -
Error:
3088SQLSTATE:HY000(ER_MIX_OF_GROUP_FUNC_AND_FIELDS_V2)Message: In aggregated query without GROUP BY, expression #%u of %s contains nonaggregated column '%s'; this is incompatible with sql_mode=only_full_group_by
ER_MIX_OF_GROUP_FUNC_AND_FIELDS_V2was added in 5.7.6. -
Error:
3089SQLSTATE:HY000(ER_WARN_DEPRECATED_SYSVAR_UPDATE)Message: Updating '%s' is deprecated. It will be made read-only in a future release.
ER_WARN_DEPRECATED_SYSVAR_UPDATEwas added in 5.7.6. -
Error:
3090SQLSTATE:HY000(ER_WARN_DEPRECATED_SQLMODE)Message: Changing sql mode '%s' is deprecated. It will be removed in a future release.
ER_WARN_DEPRECATED_SQLMODEwas added in 5.7.6. -
Error:
3091SQLSTATE:HY000(ER_CANNOT_LOG_PARTIAL_DROP_DATABASE_WITH_GTID)Message: DROP DATABASE failed; some tables may have been dropped but the database directory remains. The GTID has not been added to GTID_EXECUTED and the statement was not written to the binary log. Fix this as follows: (1) remove all files from the database directory %s; (2) SET GTID_NEXT='%s'; (3) DROP DATABASE `%s`.
ER_CANNOT_LOG_PARTIAL_DROP_DATABASE_WITH_GTIDwas added in 5.7.6. -
Error:
3092SQLSTATE:HY000(ER_GROUP_REPLICATION_CONFIGURATION)Message: The server is not configured properly to be an active member of the group. Please see more details on error log.
This error is reserved for future use.
ER_GROUP_REPLICATION_CONFIGURATIONwas added in 5.7.6. -
Error:
3093SQLSTATE:HY000(ER_GROUP_REPLICATION_RUNNING)Message: The START GROUP_REPLICATION command failed since the group is already running.
This error is reserved for future use.
ER_GROUP_REPLICATION_RUNNINGwas added in 5.7.6. -
Error:
3094SQLSTATE:HY000(ER_GROUP_REPLICATION_APPLIER_INIT_ERROR)Message: The START GROUP_REPLICATION command failed as the applier module failed to start.
This error is reserved for future use.
ER_GROUP_REPLICATION_APPLIER_INIT_ERRORwas added in 5.7.6. -
Error:
3095SQLSTATE:HY000(ER_GROUP_REPLICATION_STOP_APPLIER_THREAD_TIMEOUT)Message: The STOP GROUP_REPLICATION command execution is incomplete: The applier thread got the stop signal while it was busy. The applier thread will stop once the current task is complete.
This error is reserved for future use.
ER_GROUP_REPLICATION_STOP_APPLIER_THREAD_TIMEOUTwas added in 5.7.6. -
Error:
3096SQLSTATE:HY000(ER_GROUP_REPLICATION_COMMUNICATION_LAYER_SESSION_ERROR)Message: The START GROUP_REPLICATION command failed as there was an error when initializing the group communication layer.
This error is reserved for future use.
ER_GROUP_REPLICATION_COMMUNICATION_LAYER_SESSION_ERRORwas added in 5.7.6. -
Error:
3097SQLSTATE:HY000(ER_GROUP_REPLICATION_COMMUNICATION_LAYER_JOIN_ERROR)Message: The START GROUP_REPLICATION command failed as there was an error when joining the communication group.
This error is reserved for future use.
ER_GROUP_REPLICATION_COMMUNICATION_LAYER_JOIN_ERRORwas added in 5.7.6. -
Error:
3098SQLSTATE:HY000(ER_BEFORE_DML_VALIDATION_ERROR)Message: The table does not comply with the requirements by an external plugin.
This error is reserved for future use.
ER_BEFORE_DML_VALIDATION_ERRORwas added in 5.7.6. -
Error:
3099SQLSTATE:HY000(ER_PREVENTS_VARIABLE_WITHOUT_RBR)Message: Cannot change the value of variable %s without binary log format as ROW.
This error is reserved for future use.
ER_PREVENTS_VARIABLE_WITHOUT_RBRwas added in 5.7.6. -
Error:
3100SQLSTATE:HY000(ER_RUN_HOOK_ERROR)Message: Error on observer while running replication hook '%s'.
This error is reserved for future use.
ER_RUN_HOOK_ERRORwas added in 5.7.6. -
Error:
3101SQLSTATE:HY000(ER_TRANSACTION_ROLLBACK_DURING_COMMIT)Message: Plugin instructed the server to rollback the current transaction.
This error is reserved for future use.
ER_TRANSACTION_ROLLBACK_DURING_COMMITwas added in 5.7.6. -
Error:
3102SQLSTATE:HY000(ER_GENERATED_COLUMN_FUNCTION_IS_NOT_ALLOWED)Message: Expression of generated column '%s' contains a disallowed function.
ER_GENERATED_COLUMN_FUNCTION_IS_NOT_ALLOWEDwas added in 5.7.6. -
Error:
3103SQLSTATE:HY000(ER_KEY_BASED_ON_GENERATED_COLUMN)Message: Key/Index cannot be defined on a virtual generated column.
ER_KEY_BASED_ON_GENERATED_COLUMNwas added in 5.7.6, removed after 5.7.7. -
Error:
3103SQLSTATE:HY000(ER_UNSUPPORTED_ALTER_INPLACE_ON_VIRTUAL_COLUMN)Message: INPLACE ADD or DROP of virtual columns cannot be combined with other ALTER TABLE actions
ER_UNSUPPORTED_ALTER_INPLACE_ON_VIRTUAL_COLUMNwas added in 5.7.8. -
Error:
3104SQLSTATE:HY000(ER_WRONG_FK_OPTION_FOR_GENERATED_COLUMN)Message: Cannot define foreign key with %s clause on a generated column.
ER_WRONG_FK_OPTION_FOR_GENERATED_COLUMNwas added in 5.7.6. -
Error:
3105SQLSTATE:HY000(ER_NON_DEFAULT_VALUE_FOR_GENERATED_COLUMN)Message: The value specified for generated column '%s' in table '%s' is not allowed.
ER_NON_DEFAULT_VALUE_FOR_GENERATED_COLUMNwas added in 5.7.6. -
Error:
3106SQLSTATE:HY000(ER_UNSUPPORTED_ACTION_ON_GENERATED_COLUMN)Message: '%s' is not supported for generated columns.
ER_UNSUPPORTED_ACTION_ON_GENERATED_COLUMNwas added in 5.7.6. -
Error:
3107SQLSTATE:HY000(ER_GENERATED_COLUMN_NON_PRIOR)Message: Generated column can refer only to generated columns defined prior to it.
To address this issue, change the table definition to define each generated column later than any generated columns to which it refers.
ER_GENERATED_COLUMN_NON_PRIORwas added in 5.7.6. -
Error:
3108SQLSTATE:HY000(ER_DEPENDENT_BY_GENERATED_COLUMN)Message: Column '%s' has a generated column dependency.
You cannot drop or rename a generated column if another column refers to it. You must either drop those columns as well, or redefine them not to refer to the generated column.
ER_DEPENDENT_BY_GENERATED_COLUMNwas added in 5.7.6. -
Error:
3109SQLSTATE:HY000(ER_GENERATED_COLUMN_REF_AUTO_INC)Message: Generated column '%s' cannot refer to auto-increment column.
ER_GENERATED_COLUMN_REF_AUTO_INCwas added in 5.7.6. -
Error:
3110SQLSTATE:HY000(ER_FEATURE_NOT_AVAILABLE)Message: The '%s' feature is not available; you need to remove '%s' or use MySQL built with '%s'
ER_FEATURE_NOT_AVAILABLEwas added in 5.7.6. -
Error:
3111SQLSTATE:HY000(ER_CANT_SET_GTID_MODE)Message: SET @@GLOBAL.GTID_MODE = %s is not allowed because %s.
ER_CANT_SET_GTID_MODEwas added in 5.7.6. -
Error:
3112SQLSTATE:HY000(ER_CANT_USE_AUTO_POSITION_WITH_GTID_MODE_OFF)Message: The replication receiver thread%s cannot start in AUTO_POSITION mode: this server uses @@GLOBAL.GTID_MODE = OFF.
ER_CANT_USE_AUTO_POSITION_WITH_GTID_MODE_OFFwas added in 5.7.6. -
Error:
3113SQLSTATE:HY000(ER_CANT_REPLICATE_ANONYMOUS_WITH_AUTO_POSITION)Message: Cannot replicate anonymous transaction when AUTO_POSITION = 1, at file %s, position %lld.
ER_CANT_REPLICATE_ANONYMOUS_WITH_AUTO_POSITIONwas added in 5.7.6. -
Error:
3114SQLSTATE:HY000(ER_CANT_REPLICATE_ANONYMOUS_WITH_GTID_MODE_ON)Message: Cannot replicate anonymous transaction when @@GLOBAL.GTID_MODE = ON, at file %s, position %lld.
ER_CANT_REPLICATE_ANONYMOUS_WITH_GTID_MODE_ONwas added in 5.7.6. -
Error:
3115SQLSTATE:HY000(ER_CANT_REPLICATE_GTID_WITH_GTID_MODE_OFF)Message: Cannot replicate GTID-transaction when @@GLOBAL.GTID_MODE = OFF, at file %s, position %lld.
ER_CANT_REPLICATE_GTID_WITH_GTID_MODE_OFFwas added in 5.7.6. -
Error:
3116SQLSTATE:HY000(ER_CANT_SET_ENFORCE_GTID_CONSISTENCY_ON_WITH_ONGOING_GTID_VIOLATING_TRANSACTIONS)Message: Cannot set ENFORCE_GTID_CONSISTENCY = ON because there are ongoing transactions that violate GTID consistency.
ER_CANT_SET_ENFORCE_GTID_CONSISTENCY_ON_WITH_ONGOING_GTID_VIOLATING_TRANSACTIONSwas added in 5.7.6. -
Error:
3117SQLSTATE:HY000(ER_SET_ENFORCE_GTID_CONSISTENCY_WARN_WITH_ONGOING_GTID_VIOLATING_TRANSACTIONS)Message: There are ongoing transactions that violate GTID consistency.
ER_SET_ENFORCE_GTID_CONSISTENCY_WARN_WITH_ONGOING_GTID_VIOLATING_TRANSACTIONSwas added in 5.7.6. -
Error:
3118SQLSTATE:HY000(ER_ACCOUNT_HAS_BEEN_LOCKED)Message: Access denied for user '%s'@'%s'. Account is locked.
The account was locked with
CREATE USER ... ACCOUNT LOCKorALTER USER ... ACCOUNT LOCK. An administrator can unlock it withALTER USER ... ACCOUNT UNLOCK.ER_ACCOUNT_HAS_BEEN_LOCKEDwas added in 5.7.6. -
Error:
3119SQLSTATE:42000(ER_WRONG_TABLESPACE_NAME)Message: Incorrect tablespace name `%s`
ER_WRONG_TABLESPACE_NAMEwas added in 5.7.6. -
Error:
3120SQLSTATE:HY000(ER_TABLESPACE_IS_NOT_EMPTY)Message: Tablespace `%s` is not empty.
ER_TABLESPACE_IS_NOT_EMPTYwas added in 5.7.6. -
Error:
3121SQLSTATE:HY000(ER_WRONG_FILE_NAME)Message: Incorrect File Name '%s'.
ER_WRONG_FILE_NAMEwas added in 5.7.6. -
Error:
3122SQLSTATE:HY000(ER_BOOST_GEOMETRY_INCONSISTENT_TURNS_EXCEPTION)Message: Inconsistent intersection points.
ER_BOOST_GEOMETRY_INCONSISTENT_TURNS_EXCEPTIONwas added in 5.7.7. -
Error:
3123SQLSTATE:HY000(ER_WARN_OPTIMIZER_HINT_SYNTAX_ERROR)Message: Optimizer hint syntax error
ER_WARN_OPTIMIZER_HINT_SYNTAX_ERRORwas added in 5.7.7. -
Error:
3124SQLSTATE:HY000(ER_WARN_BAD_MAX_EXECUTION_TIME)Message: Unsupported MAX_EXECUTION_TIME
ER_WARN_BAD_MAX_EXECUTION_TIMEwas added in 5.7.7. -
Error:
3125SQLSTATE:HY000(ER_WARN_UNSUPPORTED_MAX_EXECUTION_TIME)Message: MAX_EXECUTION_TIME hint is supported by top-level standalone SELECT statements only
The
MAX_EXECUTION_TIME()optimizer hint is supported only forSELECTstatements.ER_WARN_UNSUPPORTED_MAX_EXECUTION_TIMEwas added in 5.7.7. -
Error:
3126SQLSTATE:HY000(ER_WARN_CONFLICTING_HINT)Message: Hint %s is ignored as conflicting/duplicated
ER_WARN_CONFLICTING_HINTwas added in 5.7.7. -
Error:
3127SQLSTATE:HY000(ER_WARN_UNKNOWN_QB_NAME)Message: Query block name %s is not found for %s hint
ER_WARN_UNKNOWN_QB_NAMEwas added in 5.7.7. -
Error:
3128SQLSTATE:HY000(ER_UNRESOLVED_HINT_NAME)Message: Unresolved name %s for %s hint
ER_UNRESOLVED_HINT_NAMEwas added in 5.7.7. -
Error:
3129SQLSTATE:HY000(ER_WARN_DEPRECATED_SQLMODE_UNSET)Message: Unsetting sql mode '%s' is deprecated. It will be made read-only in a future release.
ER_WARN_DEPRECATED_SQLMODE_UNSETwas added in 5.7.7, removed after 5.7.7. -
Error:
3129SQLSTATE:HY000(ER_WARN_ON_MODIFYING_GTID_EXECUTED_TABLE)Message: Please do not modify the %s table. This is a mysql internal system table to store GTIDs for committed transactions. Modifying it can lead to an inconsistent GTID state.
ER_WARN_ON_MODIFYING_GTID_EXECUTED_TABLEwas added in 5.7.8. -
Error:
3130SQLSTATE:HY000(ER_PLUGGABLE_PROTOCOL_COMMAND_NOT_SUPPORTED)Message: Command not supported by pluggable protocols
ER_PLUGGABLE_PROTOCOL_COMMAND_NOT_SUPPORTEDwas added in 5.7.8. -
Error:
3131SQLSTATE:42000(ER_LOCKING_SERVICE_WRONG_NAME)Message: Incorrect locking service lock name '%s'.
A locking service name was specified as
NULL, the empty string, or a string longer than 64 characters. Namespace and lock names must be non-NULL, nonempty, and no more than 64 characters long.ER_LOCKING_SERVICE_WRONG_NAMEwas added in 5.7.8. -
Error:
3132SQLSTATE:HY000(ER_LOCKING_SERVICE_DEADLOCK)Message: Deadlock found when trying to get locking service lock; try releasing locks and restarting lock acquisition.
ER_LOCKING_SERVICE_DEADLOCKwas added in 5.7.8. -
Error:
3133SQLSTATE:HY000(ER_LOCKING_SERVICE_TIMEOUT)Message: Service lock wait timeout exceeded.
ER_LOCKING_SERVICE_TIMEOUTwas added in 5.7.8. -
Error:
3134SQLSTATE:HY000(ER_GIS_MAX_POINTS_IN_GEOMETRY_OVERFLOWED)Message: Parameter %s exceeds the maximum number of points in a geometry (%lu) in function %s.
ER_GIS_MAX_POINTS_IN_GEOMETRY_OVERFLOWEDwas added in 5.7.8. -
Error:
3135SQLSTATE:HY000(ER_SQL_MODE_MERGED)Message: 'NO_ZERO_DATE', 'NO_ZERO_IN_DATE' and 'ERROR_FOR_DIVISION_BY_ZERO' sql modes should be used with strict mode. They will be merged with strict mode in a future release.
ER_SQL_MODE_MERGEDwas added in 5.7.8. -
Error:
3136SQLSTATE:HY000(ER_VTOKEN_PLUGIN_TOKEN_MISMATCH)Message: Version token mismatch for %.*s. Correct value %.*s
The client has set its
version_tokens_sessionsystem variable to the list of tokens it requires the server to match, but the server token list has at least one matching token name that has a value different from what the client requires. See Section 5.1.8.4, “Version Tokens”.ER_VTOKEN_PLUGIN_TOKEN_MISMATCHwas added in 5.7.8. -
Error:
3137SQLSTATE:HY000(ER_VTOKEN_PLUGIN_TOKEN_NOT_FOUND)Message: Version token %.*s not found.
The client has set its
version_tokens_sessionsystem variable to the list of tokens it requires the server to match, but the server token list is missing at least one of those tokens. See Section 5.1.8.4, “Version Tokens”.ER_VTOKEN_PLUGIN_TOKEN_NOT_FOUNDwas added in 5.7.8. -
Error:
3138SQLSTATE:HY000(ER_CANT_SET_VARIABLE_WHEN_OWNING_GTID)Message: Variable %s cannot be changed by a client that owns a GTID. The client owns %s. Ownership is released on COMMIT or ROLLBACK.
ER_CANT_SET_VARIABLE_WHEN_OWNING_GTIDwas added in 5.7.8. -
Error:
3139SQLSTATE:HY000(ER_SLAVE_CHANNEL_OPERATION_NOT_ALLOWED)Message: %s cannot be performed on channel '%s'.
ER_SLAVE_CHANNEL_OPERATION_NOT_ALLOWEDwas added in 5.7.8. -
Error:
3140SQLSTATE:22032(ER_INVALID_JSON_TEXT)Message: Invalid JSON text: "%s" at position %u in value (or column) '%s'.
ER_INVALID_JSON_TEXTwas added in 5.7.8. -
Error:
3141SQLSTATE:22032(ER_INVALID_JSON_TEXT_IN_PARAM)Message: Invalid JSON text in argument %u to function %s: "%s" at position %u in '%s'.
ER_INVALID_JSON_TEXT_IN_PARAMwas added in 5.7.8. -
Error:
3142SQLSTATE:HY000(ER_INVALID_JSON_BINARY_DATA)Message: The JSON binary value contains invalid data.
ER_INVALID_JSON_BINARY_DATAwas added in 5.7.8. -
Error:
3143SQLSTATE:42000(ER_INVALID_JSON_PATH)Message: Invalid JSON path expression. The error is around character position %u in '%s'.
ER_INVALID_JSON_PATHwas added in 5.7.8. -
Error:
3144SQLSTATE:22032(ER_INVALID_JSON_CHARSET)Message: Cannot create a JSON value from a string with CHARACTER SET '%s'.
ER_INVALID_JSON_CHARSETwas added in 5.7.8. -
Error:
3145SQLSTATE:22032(ER_INVALID_JSON_CHARSET_IN_FUNCTION)Message: Invalid JSON character data provided to function %s: '%s'; utf8 is required.
ER_INVALID_JSON_CHARSET_IN_FUNCTIONwas added in 5.7.8. -
Error:
3146SQLSTATE:22032(ER_INVALID_TYPE_FOR_JSON)Message: Invalid data type for JSON data in argument %u to function %s; a JSON string or JSON type is required.
ER_INVALID_TYPE_FOR_JSONwas added in 5.7.8. -
Error:
3147SQLSTATE:22032(ER_INVALID_CAST_TO_JSON)Message: Cannot CAST value to JSON.
ER_INVALID_CAST_TO_JSONwas added in 5.7.8. -
Error:
3148SQLSTATE:42000(ER_INVALID_JSON_PATH_CHARSET)Message: A path expression must be encoded in the utf8 character set. The path expression '%s' is encoded in character set '%s'.
ER_INVALID_JSON_PATH_CHARSETwas added in 5.7.8. -
Error:
3149SQLSTATE:42000(ER_INVALID_JSON_PATH_WILDCARD)Message: In this situation, path expressions may not contain the * and ** tokens.
ER_INVALID_JSON_PATH_WILDCARDwas added in 5.7.8. -
Error:
3150SQLSTATE:22032(ER_JSON_VALUE_TOO_BIG)Message: The JSON value is too big to be stored in a JSON column.
ER_JSON_VALUE_TOO_BIGwas added in 5.7.8. -
Error:
3151SQLSTATE:22032(ER_JSON_KEY_TOO_BIG)Message: The JSON object contains a key name that is too long.
ER_JSON_KEY_TOO_BIGwas added in 5.7.8. -
Error:
3152SQLSTATE:42000(ER_JSON_USED_AS_KEY)Message: JSON column '%s' cannot be used in key specification.
ER_JSON_USED_AS_KEYwas added in 5.7.8. -
Error:
3153SQLSTATE:42000(ER_JSON_VACUOUS_PATH)Message: The path expression '$' is not allowed in this context.
ER_JSON_VACUOUS_PATHwas added in 5.7.8. -
Error:
3154SQLSTATE:42000(ER_JSON_BAD_ONE_OR_ALL_ARG)Message: The oneOrAll argument to %s may take these values: 'one' or 'all'.
ER_JSON_BAD_ONE_OR_ALL_ARGwas added in 5.7.8. -
Error:
3155SQLSTATE:22003(ER_NUMERIC_JSON_VALUE_OUT_OF_RANGE)Message: Out of range JSON value for CAST to %s: '%s' from %s at row %ld
ER_NUMERIC_JSON_VALUE_OUT_OF_RANGEwas added in 5.7.8. -
Error:
3156SQLSTATE:22018(ER_INVALID_JSON_VALUE_FOR_CAST)Message: Invalid JSON value for CAST to %s: '%s' from %s at row %ld
ER_INVALID_JSON_VALUE_FOR_CASTwas added in 5.7.8. -
Error:
3157SQLSTATE:22032(ER_JSON_DOCUMENT_TOO_DEEP)Message: The JSON document exceeds the maximum depth.
ER_JSON_DOCUMENT_TOO_DEEPwas added in 5.7.8. -
Error:
3158SQLSTATE:22032(ER_JSON_DOCUMENT_NULL_KEY)Message: JSON documents may not contain NULL member names.
ER_JSON_DOCUMENT_NULL_KEYwas added in 5.7.8. -
Error:
3159SQLSTATE:HY000(ER_SECURE_TRANSPORT_REQUIRED)Message: Connections using insecure transport are prohibited while --require_secure_transport=ON.
With the
require_secure_transportsystem variable, clients can connect only using secure transports. Qualifying connections are those using SSL, a Unix socket file, or shared memory.ER_SECURE_TRANSPORT_REQUIREDwas added in 5.7.8. -
Error:
3160SQLSTATE:HY000(ER_NO_SECURE_TRANSPORTS_CONFIGURED)Message: No secure transports (SSL or Shared Memory) are configured, unable to set --require_secure_transport=ON.
The
require_secure_transportsystem variable cannot be enabled if the server does not support at least one secure transport. Configure the server with the required SSL keys/certificates to enable SSL connections, or enable theshared_memorysystem variable to enable shared-memory connections.ER_NO_SECURE_TRANSPORTS_CONFIGUREDwas added in 5.7.8. -
Error:
3161SQLSTATE:HY000(ER_DISABLED_STORAGE_ENGINE)Message: Storage engine %s is disabled (Table creation is disallowed).
An attempt was made to create a table or tablespace using a storage engine listed in the value of the
disabled_storage_enginessystem variable, or to change an existing table or tablespace to such an engine. Choose a different storage engine.ER_DISABLED_STORAGE_ENGINEwas added in 5.7.8. -
Error:
3162SQLSTATE:HY000(ER_USER_DOES_NOT_EXIST)Message: User %s does not exist.
ER_USER_DOES_NOT_EXISTwas added in 5.7.8. -
Error:
3163SQLSTATE:HY000(ER_USER_ALREADY_EXISTS)Message: User %s already exists.
ER_USER_ALREADY_EXISTSwas added in 5.7.8. -
Error:
3164SQLSTATE:HY000(ER_AUDIT_API_ABORT)Message: Aborted by Audit API ('%s';%d).
This error indicates that an audit plugin terminated execution of an event. The message typically indicates the event subclass name and a numeric status value.
ER_AUDIT_API_ABORTwas added in 5.7.8. -
Error:
3165SQLSTATE:42000(ER_INVALID_JSON_PATH_ARRAY_CELL)Message: A path expression is not a path to a cell in an array.
ER_INVALID_JSON_PATH_ARRAY_CELLwas added in 5.7.8. -
Error:
3166SQLSTATE:HY000(ER_BUFPOOL_RESIZE_INPROGRESS)Message: Another buffer pool resize is already in progress.
ER_BUFPOOL_RESIZE_INPROGRESSwas added in 5.7.9. -
Error:
3167SQLSTATE:HY000(ER_FEATURE_DISABLED_SEE_DOC)Message: The '%s' feature is disabled; see the documentation for '%s'
ER_FEATURE_DISABLED_SEE_DOCwas added in 5.7.9. -
Error:
3168SQLSTATE:HY000(ER_SERVER_ISNT_AVAILABLE)Message: Server isn't available
ER_SERVER_ISNT_AVAILABLEwas added in 5.7.9. -
Error:
3169SQLSTATE:HY000(ER_SESSION_WAS_KILLED)Message: Session was killed
ER_SESSION_WAS_KILLEDwas added in 5.7.9. -
Error:
3170SQLSTATE:HY000(ER_CAPACITY_EXCEEDED)Message: Memory capacity of %llu bytes for '%s' exceeded. %s
ER_CAPACITY_EXCEEDEDwas added in 5.7.9. -
Error:
3171SQLSTATE:HY000(ER_CAPACITY_EXCEEDED_IN_RANGE_OPTIMIZER)Message: Range optimization was not done for this query.
ER_CAPACITY_EXCEEDED_IN_RANGE_OPTIMIZERwas added in 5.7.9. -
Error:
3172SQLSTATE:HY000(ER_TABLE_NEEDS_UPG_PART)Message: Partitioning upgrade required. Please dump/reload to fix it or do: ALTER TABLE `%s`.`%s` UPGRADE PARTITIONING
ER_TABLE_NEEDS_UPG_PARTwas added in 5.7.9. -
Error:
3173SQLSTATE:HY000(ER_CANT_WAIT_FOR_EXECUTED_GTID_SET_WHILE_OWNING_A_GTID)Message: The client holds ownership of the GTID %s. Therefore, WAIT_FOR_EXECUTED_GTID_SET cannot wait for this GTID.
ER_CANT_WAIT_FOR_EXECUTED_GTID_SET_WHILE_OWNING_A_GTIDwas added in 5.7.9. -
Error:
3174SQLSTATE:HY000(ER_CANNOT_ADD_FOREIGN_BASE_COL_VIRTUAL)Message: Cannot add foreign key on the base column of indexed virtual column.
ER_CANNOT_ADD_FOREIGN_BASE_COL_VIRTUALwas added in 5.7.10. -
Error:
3175SQLSTATE:HY000(ER_CANNOT_CREATE_VIRTUAL_INDEX_CONSTRAINT)Message: Cannot create index on virtual column whose base column has foreign constraint.
ER_CANNOT_CREATE_VIRTUAL_INDEX_CONSTRAINTwas added in 5.7.10. -
4144

被折叠的 条评论
为什么被折叠?



