Appendix B. Error Codes and Messages

MySQL 5.0

Appendix B. Error Codes and Messages

This appendix lists the errors that may appear when you call MySQL from any host language. The first list displays server error messages. The second list displays client program messages.

B.1. Server Error Codes and Messages

Server error information comes from the following source files. For details about the way that error information is defined, see the MySQL Internals manual, available at http://dev.mysql.com/doc/.

  • Error message information is listed in the file. and represent numbers and strings, respectively, that are substituted into the Message values when they are displayed.

  • The Error values listed in are used to generate the definitions in the and MySQL source files.

  • The SQLSTATE values listed in are used to generate the definitions in the MySQL source file.

Because updates are frequent, it is possible that those files will contain additional error information not listed here.

  • Error: SQLSTATE: ()

    Message: hashchk

  • Error: SQLSTATE: ()

    Message: isamchk

  • Error: SQLSTATE: ()

    Message: NO

  • Error: SQLSTATE: ()

    Message: YES

  • Error: SQLSTATE: ()

    Message: Can't create file '%s' (errno: %d)

  • Error: SQLSTATE: ()

    Message: Can't create table '%s' (errno: %d)

  • Error: SQLSTATE: ()

    Message: Can't create database '%s' (errno: %d)

  • Error: SQLSTATE: ()

    Message: Can't create database '%s'; database exists

  • Error: SQLSTATE: ()

    Message: Can't drop database '%s'; database doesn't exist

  • Error: SQLSTATE: ()

    Message: Error dropping database (can't delete '%s', errno: %d)

  • Error: SQLSTATE: ()

    Message: Error dropping database (can't rmdir '%s', errno: %d)

  • Error: SQLSTATE: ()

    Message: Error on delete of '%s' (errno: %d)

  • Error: SQLSTATE: ()

    Message: Can't read record in system table

  • Error: SQLSTATE: ()

    Message: Can't get status of '%s' (errno: %d)

  • Error: SQLSTATE: ()

    Message: Can't get working directory (errno: %d)

  • Error: SQLSTATE: ()

    Message: Can't lock file (errno: %d)

  • Error: SQLSTATE: ()

    Message: Can't open file: '%s' (errno: %d)

  • Error: SQLSTATE: ()

    Message: Can't find file: '%s' (errno: %d)

  • Error: SQLSTATE: ()

    Message: Can't read dir of '%s' (errno: %d)

  • Error: SQLSTATE: ()

    Message: Can't change dir to '%s' (errno: %d)

  • Error: SQLSTATE: ()

    Message: Record has changed since last read in table '%s'

  • Error: SQLSTATE: ()

    Message: Disk full (%s); waiting for someone to free some space...

  • Error: SQLSTATE: ()

    Message: Can't write; duplicate key in table '%s'

  • Error: SQLSTATE: ()

    Message: Error on close of '%s' (errno: %d)

  • Error: SQLSTATE: ()

    Message: Error reading file '%s' (errno: %d)

  • Error: SQLSTATE: ()

    Message: Error on rename of '%s' to '%s' (errno: %d)

  • Error: SQLSTATE: ()

    Message: Error writing file '%s' (errno: %d)

  • Error: SQLSTATE: ()

    Message: '%s' is locked against change

  • Error: SQLSTATE: ()

    Message: Sort aborted

  • Error: SQLSTATE: ()

    Message: View '%s' doesn't exist for '%s'

  • Error: SQLSTATE: ()

    Message: Got error %d from storage engine

  • Error: SQLSTATE: ()

    Message: Table storage engine for '%s' doesn't have this option

  • Error: SQLSTATE: ()

    Message: Can't find record in '%s'

  • Error: SQLSTATE: ()

    Message: Incorrect information in file: '%s'

  • Error: SQLSTATE: ()

    Message: Incorrect key file for table '%s'; try to repair it

  • Error: SQLSTATE: ()

    Message: Old key file for table '%s'; repair it!

  • Error: SQLSTATE: ()

    Message: Table '%s' is read only

  • Error: SQLSTATE: ()

    Message: Out of memory; restart server and try again (needed %d bytes)

  • Error: SQLSTATE: ()

    Message: Out of sort memory; increase server sort buffer size

  • Error: SQLSTATE: ()

    Message: Unexpected EOF found when reading file '%s' (errno: %d)

  • Error: SQLSTATE: ()

    Message: Too many connections

  • Error: SQLSTATE: ()

    Message: Out of memory; check if mysqld or some other process uses all available memory; if not, you may have to use 'ulimit' to allow mysqld to use more memory or you can add more swap space

  • Error: SQLSTATE: ()

    Message: Can't get hostname for your address

  • Error: SQLSTATE: ()

    Message: Bad handshake

  • Error: SQLSTATE: ()

    Message: Access denied for user '%s'@'%s' to database '%s'

  • Error: SQLSTATE: ()

    Message: Access denied for user '%s'@'%s' (using password: %s)

  • Error: SQLSTATE: ()

    Message: No database selected

  • Error: SQLSTATE: ()

    Message: Unknown command

  • Error: SQLSTATE: ()

    Message: Column '%s' cannot be null

  • Error: SQLSTATE: ()

    Message: Unknown database '%s'

  • Error: SQLSTATE: ()

    Message: Table '%s' already exists

  • Error: SQLSTATE: ()

    Message: Unknown table '%s'

  • Error: SQLSTATE: ()

    Message: Column '%s' in %s is ambiguous

  • Error: SQLSTATE: ()

    Message: Server shutdown in progress

  • Error: SQLSTATE: ()

    Message: Unknown column '%s' in '%s'

  • Error: SQLSTATE: ()

    Message: '%s' isn't in GROUP BY

  • Error: SQLSTATE: ()

    Message: Can't group on '%s'

  • Error: SQLSTATE: ()

    Message: Statement has sum functions and columns in same statement

  • Error: SQLSTATE: ()

    Message: Column count doesn't match value count

  • Error: SQLSTATE: ()

    Message: Identifier name '%s' is too long

  • Error: SQLSTATE: ()

    Message: Duplicate column name '%s'

  • Error: SQLSTATE: ()

    Message: Duplicate key name '%s'

  • Error: SQLSTATE: ()

    Message: Duplicate entry '%s' for key %d

  • Error: SQLSTATE: ()

    Message: Incorrect column specifier for column '%s'

  • Error: SQLSTATE: ()

    Message: %s near '%s' at line %d

  • Error: SQLSTATE: ()

    Message: Query was empty

  • Error: SQLSTATE: ()

    Message: Not unique table/alias: '%s'

  • Error: SQLSTATE: ()

    Message: Invalid default value for '%s'

  • Error: SQLSTATE: ()

    Message: Multiple primary key defined

  • Error: SQLSTATE: ()

    Message: Too many keys specified; max %d keys allowed

  • Error: SQLSTATE: ()

    Message: Too many key parts specified; max %d parts allowed

  • Error: SQLSTATE: ()

    Message: Specified key was too long; max key length is %d bytes

  • Error: SQLSTATE: ()

    Message: Key column '%s' doesn't exist in table

  • Error: SQLSTATE: ()

    Message: BLOB column '%s' can't be used in key specification with the used table type

  • Error: SQLSTATE: ()

    Message: Column length too big for column '%s' (max = %d); use BLOB or TEXT instead

  • Error: SQLSTATE: ()

    Message: Incorrect table definition; there can be only one auto column and it must be defined as a key

  • Error: SQLSTATE: ()

    Message: %s: ready for connections. Version: '%s' socket: '%s' port: %d

  • Error: SQLSTATE: ()

    Message: %s: Normal shutdown

  • Error: SQLSTATE: ()

    Message: %s: Got signal %d. Aborting!

  • Error: SQLSTATE: ()

    Message: %s: Shutdown complete

  • Error: SQLSTATE: ()

    Message: %s: Forcing close of thread %ld user: '%s'

  • Error: SQLSTATE: ()

    Message: Can't create IP socket

  • Error: SQLSTATE: ()

    Message: Table '%s' has no index like the one used in CREATE INDEX; recreate the table

  • Error: SQLSTATE: ()

    Message: Field separator argument is not what is expected; check the manual

  • Error: SQLSTATE: ()

    Message: You can't use fixed rowlength with BLOBs; please use 'fields terminated by'

  • Error: SQLSTATE: ()

    Message: The file '%s' must be in the database directory or be readable by all

  • Error: SQLSTATE: ()

    Message: File '%s' already exists

  • Error: SQLSTATE: ()

    Message: Records: %ld Deleted: %ld Skipped: %ld Warnings: %ld

  • Error: SQLSTATE: ()

    Message: Records: %ld Duplicates: %ld

  • Error: SQLSTATE: ()

    Message: Incorrect sub part key; the used key part isn't a string, the used length is longer than the key part, or the storage engine doesn't support unique sub keys

  • Error: SQLSTATE: ()

    Message: You can't delete all columns with ALTER TABLE; use DROP TABLE instead

  • Error: SQLSTATE: ()

    Message: Can't DROP '%s'; check that column/key exists

  • Error: SQLSTATE: ()

    Message: Records: %ld Duplicates: %ld Warnings: %ld

  • Error: SQLSTATE: ()

    Message: You can't specify target table '%s' for update in FROM clause

  • Error: SQLSTATE: ()

    Message: Unknown thread id: %lu

  • Error: SQLSTATE: ()

    Message: You are not owner of thread %lu

  • Error: SQLSTATE: ()

    Message: No tables used

  • Error: SQLSTATE: ()

    Message: Too many strings for column %s and SET

  • Error: SQLSTATE: ()

    Message: Can't generate a unique log-filename %s.(1-999)

  • Error: SQLSTATE: ()

    Message: Table '%s' was locked with a READ lock and can't be updated

  • Error: SQLSTATE: ()

    Message: Table '%s' was not locked with LOCK TABLES

  • Error: SQLSTATE: ()

    Message: BLOB/TEXT column '%s' can't have a default value

  • Error: SQLSTATE: ()

    Message: Incorrect database name '%s'

  • Error: SQLSTATE: ()

    Message: Incorrect table name '%s'

  • Error: SQLSTATE: ()

    Message: The SELECT would examine more than MAX_JOIN_SIZE rows; check your WHERE and use SET SQL_BIG_SELECTS=1 or SET SQL_MAX_JOIN_SIZE=# if the SELECT is okay

  • Error: SQLSTATE: ()

    Message: Unknown error

  • Error: SQLSTATE: ()

    Message: Unknown procedure '%s'

  • Error: SQLSTATE: ()

    Message: Incorrect parameter count to procedure '%s'

  • Error: SQLSTATE: ()

    Message: Incorrect parameters to procedure '%s'

  • Error: SQLSTATE: ()

    Message: Unknown table '%s' in %s

  • Error: SQLSTATE: ()

    Message: Column '%s' specified twice

  • Error: SQLSTATE: ()

    Message: Invalid use of group function

  • Error: SQLSTATE: ()

    Message: Table '%s' uses an extension that doesn't exist in this MySQL version

  • Error: SQLSTATE: ()

    Message: A table must have at least 1 column

  • Error: SQLSTATE: ()

    Message: The table '%s' is full

  • Error: SQLSTATE: ()

    Message: Unknown character set: '%s'

  • Error: SQLSTATE: ()

    Message: Too many tables; MySQL can only use %d tables in a join

  • Error: SQLSTATE: ()

    Message: Too many columns

  • Error: SQLSTATE: ()

    Message: Row size too large. The maximum row size for the used table type, not counting BLOBs, is %ld. You have to change some columns to TEXT or BLOBs

  • Error: SQLSTATE: ()

    Message: Thread stack overrun: Used: %ld of a %ld stack. Use 'mysqld -O thread_stack=#' to specify a bigger stack if needed

  • Error: SQLSTATE: ()

    Message: Cross dependency found in OUTER JOIN; examine your ON conditions

  • Error: SQLSTATE: ()

    Message: Column '%s' is used with UNIQUE or INDEX but is not defined as NOT NULL

  • Error: SQLSTATE: ()

    Message: Can't load function '%s'

  • Error: SQLSTATE: ()

    Message: Can't initialize function '%s'; %s

  • Error: SQLSTATE: ()

    Message: No paths allowed for shared library

  • Error: SQLSTATE: ()

    Message: Function '%s' already exists

  • Error: SQLSTATE: ()

    Message: Can't open shared library '%s' (errno: %d %s)

  • Error: SQLSTATE: ()

    Message: Can't find function '%s' in library

  • Error: SQLSTATE: ()

    Message: Function '%s' is not defined

  • Error: SQLSTATE: ()

    Message: Host '%s' is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts'

  • Error: SQLSTATE: ()

    Message: Host '%s' is not allowed to connect to this MySQL server

  • Error: SQLSTATE: ()

    Message: You are using MySQL as an anonymous user and anonymous users are not allowed to change passwords

  • Error: SQLSTATE: ()

    Message: You must have privileges to update tables in the mysql database to be able to change passwords for others

  • Error: SQLSTATE: ()

    Message: Can't find any matching row in the user table

  • Error: SQLSTATE: ()

    Message: Rows matched: %ld Changed: %ld Warnings: %ld

  • Error: SQLSTATE: ()

    Message: Can't create a new thread (errno %d); if you are not out of available memory, you can consult the manual for a possible OS-dependent bug

  • Error: SQLSTATE: ()

    Message: Column count doesn't match value count at row %ld

  • Error: SQLSTATE: ()

    Message: Can't reopen table: '%s'

  • Error: SQLSTATE: ()

    Message: Invalid use of NULL value

  • Error: SQLSTATE: ()

    Message: Got error '%s' from regexp

  • Error: SQLSTATE: ()

    Message: Mixing of GROUP columns (MIN(),MAX(),COUNT(),...) with no GROUP columns is illegal if there is no GROUP BY clause

  • Error: SQLSTATE: ()

    Message: There is no such grant defined for user '%s' on host '%s'

  • Error: SQLSTATE: ()

    Message: %s command denied to user '%s'@'%s' for table '%s'

  • Error: SQLSTATE: ()

    Message: %s command denied to user '%s'@'%s' for column '%s' in table '%s'

  • Error: SQLSTATE: ()

    Message: Illegal GRANT/REVOKE command; please consult the manual to see which privileges can be used

  • Error: SQLSTATE: ()

    Message: The host or user argument to GRANT is too long

  • Error: SQLSTATE: ()

    Message: Table '%s.%s' doesn't exist

  • Error: SQLSTATE: ()

    Message: There is no such grant defined for user '%s' on host '%s' on table '%s'

  • Error: SQLSTATE: ()

    Message: The used command is not allowed with this MySQL version

  • Error: SQLSTATE: ()

    Message: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use

  • Error: SQLSTATE: ()

    Message: Delayed insert thread couldn't get requested lock for table %s

  • Error: SQLSTATE: ()

    Message: Too many delayed threads in use

  • Error: SQLSTATE: ()

    Message: Aborted connection %ld to db: '%s' user: '%s' (%s)

  • Error: SQLSTATE: ()

    Message: Got a packet bigger than 'max_allowed_packet' bytes

  • Error: SQLSTATE: ()

    Message: Got a read error from the connection pipe

  • Error: SQLSTATE: ()

    Message: Got an error from fcntl()

  • Error: SQLSTATE: ()

    Message: Got packets out of order

  • Error: SQLSTATE: ()

    Message: Couldn't uncompress communication packet

  • Error: SQLSTATE: ()

    Message: Got an error reading communication packets

  • Error: SQLSTATE: ()

    Message: Got timeout reading communication packets

  • Error: SQLSTATE: ()

    Message: Got an error writing communication packets

  • Error: SQLSTATE: ()

    Message: Got timeout writing communication packets

  • Error: SQLSTATE: ()

    Message: Result string is longer than 'max_allowed_packet' bytes

  • Error: SQLSTATE: ()

    Message: The used table type doesn't support BLOB/TEXT columns

  • Error: SQLSTATE: ()

    Message: The used table type doesn't support AUTO_INCREMENT columns

  • Error: SQLSTATE: ()

    Message: INSERT DELAYED can't be used with table '%s' because it is locked with LOCK TABLES

  • Error: SQLSTATE: ()

    Message: Incorrect column name '%s'

  • Error: SQLSTATE: ()

    Message: The used storage engine can't index column '%s'

  • Error: SQLSTATE: ()

    Message: All tables in the MERGE table are not identically defined

  • Error: SQLSTATE: ()

    Message: Can't write, because of unique constraint, to table '%s'

  • Error: SQLSTATE: ()

    Message: BLOB/TEXT column '%s' used in key specification without a key length

  • Error: SQLSTATE: ()

    Message: All parts of a PRIMARY KEY must be NOT NULL; if you need NULL in a key, use UNIQUE instead

  • Error: SQLSTATE: ()

    Message: Result consisted of more than one row

  • Error: SQLSTATE: ()

    Message: This table type requires a primary key

  • Error: SQLSTATE: ()

    Message: This version of MySQL is not compiled with RAID support

  • Error: SQLSTATE: ()

    Message: You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column

  • Error: SQLSTATE: ()

    Message: Key '%s' doesn't exist in table '%s'

  • Error: SQLSTATE: ()

    Message: Can't open table

  • Error: SQLSTATE: ()

    Message: The storage engine for the table doesn't support %s

  • Error: SQLSTATE: ()

    Message: You are not allowed to execute this command in a transaction

  • Error: SQLSTATE: ()

    Message: Got error %d during COMMIT

  • Error: SQLSTATE: ()

    Message: Got error %d during ROLLBACK

  • Error: SQLSTATE: ()

    Message: Got error %d during FLUSH_LOGS

  • Error: SQLSTATE: ()

    Message: Got error %d during CHECKPOINT

  • Error: SQLSTATE: ()

    Message: Aborted connection %ld to db: '%s' user: '%s' host: '%s' (%s)

  • Error: SQLSTATE: ()

    Message: The storage engine for the table does not support binary table dump

  • Error: SQLSTATE: ()

    Message: Binlog closed, cannot RESET MASTER

  • Error: SQLSTATE: ()

    Message: Failed rebuilding the index of dumped table '%s'

  • Error: SQLSTATE: ()

    Message: Error from master: '%s'

  • Error: SQLSTATE: ()

    Message: Net error reading from master

  • Error: SQLSTATE: ()

    Message: Net error writing to master

  • Error: SQLSTATE: ()

    Message: Can't find FULLTEXT index matching the column list

  • Error: SQLSTATE: ()

    Message: Can't execute the given command because you have active locked tables or an active transaction

  • Error: SQLSTATE: ()

    Message: Unknown system variable '%s'

  • Error: SQLSTATE: ()

    Message: Table '%s' is marked as crashed and should be repaired

  • Error: SQLSTATE: ()

    Message: Table '%s' is marked as crashed and last (automatic?) repair failed

  • Error: SQLSTATE: ()

    Message: Some non-transactional changed tables couldn't be rolled back

  • Error: SQLSTATE: ()

    Message: Multi-statement transaction required more than 'max_binlog_cache_size' bytes of storage; increase this mysqld variable and try again

  • Error: SQLSTATE: ()

    Message: This operation cannot be performed with a running slave; run STOP SLAVE first

  • Error: SQLSTATE: ()

    Message: This operation requires a running slave; configure slave and do START SLAVE

  • Error: SQLSTATE: ()

    Message: The server is not configured as slave; fix in config file or with CHANGE MASTER TO

  • Error: SQLSTATE: ()

    Message: Could not initialize master info structure; more error messages can be found in the MySQL error log

  • Error: SQLSTATE: ()

    Message: Could not create slave thread; check system resources

  • Error: SQLSTATE: ()

    Message: User %s already has more than 'max_user_connections' active connections

  • Error: SQLSTATE: ()

    Message: You may only use constant expressions with SET

  • Error: SQLSTATE: ()

    Message: Lock wait timeout exceeded; try restarting transaction

  • Error: SQLSTATE: ()

    Message: The total number of locks exceeds the lock table size

  • Error: SQLSTATE: ()

    Message: Update locks cannot be acquired during a READ UNCOMMITTED transaction

  • Error: SQLSTATE: ()

    Message: DROP DATABASE not allowed while thread is holding global read lock

  • Error: SQLSTATE: ()

    Message: CREATE DATABASE not allowed while thread is holding global read lock

  • Error: SQLSTATE: ()

    Message: Incorrect arguments to %s

  • Error: SQLSTATE: ()

    Message: '%s'@'%s' is not allowed to create new users

  • Error: SQLSTATE: ()

    Message: Incorrect table definition; all MERGE tables must be in the same database

  • Error: SQLSTATE: ()

    Message: Deadlock found when trying to get lock; try restarting transaction

  • Error: SQLSTATE: ()

    Message: The used table type doesn't support FULLTEXT indexes

  • Error: SQLSTATE: ()

    Message: Cannot add foreign key constraint

  • Error: SQLSTATE: ()

    Message: Cannot add or update a child row: a foreign key constraint fails

  • Error: SQLSTATE: ()

    Message: Cannot delete or update a parent row: a foreign key constraint fails

  • Error: SQLSTATE: ()

    Message: Error connecting to master: %s

  • Error: SQLSTATE: ()

    Message: Error running query on master: %s

  • Error: SQLSTATE: ()

    Message: Error when executing command %s: %s

  • Error: SQLSTATE: ()

    Message: Incorrect usage of %s and %s

  • Error: SQLSTATE: ()

    Message: The used SELECT statements have a different number of columns

  • Error: SQLSTATE: ()

    Message: Can't execute the query because you have a conflicting read lock

  • Error: SQLSTATE: ()

    Message: Mixing of transactional and non-transactional tables is disabled

  • Error: SQLSTATE: ()

    Message: Option '%s' used twice in statement

  • Error: SQLSTATE: ()

    Message: User '%s' has exceeded the '%s' resource (current value: %ld)

  • Error: SQLSTATE: ()

    Message: Access denied; you need the %s privilege for this operation

  • Error: SQLSTATE: ()

    Message: Variable '%s' is a SESSION variable and can't be used with SET GLOBAL

  • Error: SQLSTATE: ()

    Message: Variable '%s' is a GLOBAL variable and should be set with SET GLOBAL

  • Error: SQLSTATE: ()

    Message: Variable '%s' doesn't have a default value

  • Error: SQLSTATE: ()

    Message: Variable '%s' can't be set to the value of '%s'

  • Error: SQLSTATE: ()

    Message: Incorrect argument type to variable '%s'

  • Error: SQLSTATE: ()

    Message: Variable '%s' can only be set, not read

  • Error: SQLSTATE: ()

    Message: Incorrect usage/placement of '%s'

  • Error: SQLSTATE: ()

    Message: This version of MySQL doesn't yet support '%s'

  • Error: SQLSTATE: ()

    Message: Got fatal error %d: '%s' from master when reading data from binary log

  • Error: SQLSTATE: ()

    Message: Slave SQL thread ignored the query because of replicate-*-table rules

  • Error: SQLSTATE: ()

    Message: Variable '%s' is a %s variable

  • Error: SQLSTATE: ()

    Message: Incorrect foreign key definition for '%s': %s

  • Error: SQLSTATE: ()

    Message: Key reference and table reference don't match

  • Error: SQLSTATE: ()

    Message: Operand should contain %d column(s)

  • Error: SQLSTATE: ()

    Message: Subquery returns more than 1 row

  • Error: SQLSTATE: ()

    Message: Unknown prepared statement handler (%.*s) given to %s

  • Error: SQLSTATE: ()

    Message: Help database is corrupt or does not exist

  • Error: SQLSTATE: ()

    Message: Cyclic reference on subqueries

  • Error: SQLSTATE: ()

    Message: Converting column '%s' from %s to %s

  • Error: SQLSTATE: ()

    Message: Reference '%s' not supported (%s)

  • Error: SQLSTATE: ()

    Message: Every derived table must have its own alias

  • Error: SQLSTATE: ()

    Message: Select %u was reduced during optimization

  • Error: SQLSTATE: ()

    Message: Table '%s' from one of the SELECTs cannot be used in %s

  • Error: SQLSTATE: ()

    Message: Client does not support authentication protocol requested by server; consider upgrading MySQL client

  • Error: SQLSTATE: ()

    Message: All parts of a SPATIAL index must be NOT NULL

  • Error: SQLSTATE: ()

    Message: COLLATION '%s' is not valid for CHARACTER SET '%s'

  • Error: SQLSTATE: ()

    Message: Slave is already running

  • Error: SQLSTATE: ()

    Message: Slave already has been stopped

  • Error: SQLSTATE: ()

    Message: Uncompressed data size too large; the maximum size is %d (probably, length of uncompressed data was corrupted)

  • Error: SQLSTATE: ()

    Message: ZLIB: Not enough memory

  • Error: SQLSTATE: ()

    Message: ZLIB: Not enough room in the output buffer (probably, length of uncompressed data was corrupted)

  • Error: SQLSTATE: ()

    Message: ZLIB: Input data corrupted

  • Error: SQLSTATE: ()

    Message: %d line(s) were cut by GROUP_CONCAT()

  • Error: SQLSTATE: ()

    Message: Row %ld doesn't contain data for all columns

  • Error: SQLSTATE: ()

    Message: Row %ld was truncated; it contained more data than there were input columns

  • Error: SQLSTATE: ()

    Message: Column set to default value; NULL supplied to NOT NULL column '%s' at row %ld

  • Error: SQLSTATE: ()

    Message: Out of range value adjusted for column '%s' at row %ld

  • Error: SQLSTATE: ()

    Message: Data truncated for column '%s' at row %ld

  • Error: SQLSTATE: ()

    Message: Using storage engine %s for table '%s'

  • Error: SQLSTATE: ()

    Message: Illegal mix of collations (%s,%s) and (%s,%s) for operation '%s'

  • Error: SQLSTATE: ()

    Message: Cannot drop one or more of the requested users

  • Error: SQLSTATE: ()

    Message: Can't revoke all privileges for one or more of the requested users

  • Error: SQLSTATE: ()

    Message: Illegal mix of collations (%s,%s), (%s,%s), (%s,%s) for operation '%s'

  • Error: SQLSTATE: ()

    Message: Illegal mix of collations for operation '%s'

  • Error: SQLSTATE: ()

    Message: Variable '%s' is not a variable component (can't be used as XXXX.variable_name)

  • Error: SQLSTATE: ()

    Message: Unknown collation: '%s'

  • Error: SQLSTATE: ()

    Message: SSL parameters in CHANGE MASTER are ignored because this MySQL slave was compiled without SSL support; they can be used later if MySQL slave with SSL is started

  • Error: SQLSTATE: ()

    Message: Server is running in --secure-auth mode, but '%s'@'%s' has a password in the old format; please change the password to the new format

  • Error: SQLSTATE: ()

    Message: Field or reference '%s%s%s%s%s' of SELECT #%d was resolved in SELECT #%d

  • Error: SQLSTATE: ()

    Message: Incorrect parameter or combination of parameters for START SLAVE UNTIL

  • Error: SQLSTATE: ()

    Message: It is recommended to use --skip-slave-start when doing step-by-step replication with START SLAVE UNTIL; otherwise, you will get problems if you get an unexpected slave's mysqld restart

  • Error: SQLSTATE: ()

    Message: SQL thread is not to be started so UNTIL options are ignored

  • Error: SQLSTATE: ()

    Message: Incorrect index name '%s'

  • Error: SQLSTATE: ()

    Message: Incorrect catalog name '%s'

  • Error: SQLSTATE: ()

    Message: Query cache failed to set size %lu; new query cache size is %lu

  • Error: SQLSTATE: ()

    Message: Column '%s' cannot be part of FULLTEXT index

  • Error: SQLSTATE: ()

    Message: Unknown key cache '%s'

  • Error: SQLSTATE: ()

    Message: MySQL is started in --skip-name-resolve mode; you must restart it without this switch for this grant to work

  • Error: SQLSTATE: ()

    Message: Unknown table engine '%s'

  • Error: SQLSTATE: ()

    Message: '%s' is deprecated; use '%s' instead

  • Error: SQLSTATE: ()

    Message: The target table %s of the %s is not updatable

  • Error: SQLSTATE: ()

    Message: The '%s' feature is disabled; you need MySQL built with '%s' to have it working

  • Error: SQLSTATE: ()

    Message: The MySQL server is running with the %s option so it cannot execute this statement

  • Error: SQLSTATE: ()

    Message: Column '%s' has duplicated value '%s' in %s

  • Error: SQLSTATE: ()

    Message: Truncated incorrect %s value: '%s'

  • Error: SQLSTATE: ()

    Message: Incorrect table definition; there can be only one TIMESTAMP column with CURRENT_TIMESTAMP in DEFAULT or ON UPDATE clause

  • Error: SQLSTATE: ()

    Message: Invalid ON UPDATE clause for '%s' column

  • Error: SQLSTATE: ()

    Message: This command is not supported in the prepared statement protocol yet

  • Error: SQLSTATE: ()

    Message: Got error %d '%s' from %s

  • Error: SQLSTATE: ()

    Message: Got temporary error %d '%s' from %s

  • Error: SQLSTATE: ()

    Message: Unknown or incorrect time zone: '%s'

  • Error: SQLSTATE: ()

    Message: Invalid TIMESTAMP value in column '%s' at row %ld

  • Error: SQLSTATE: ()

    Message: Invalid %s character string: '%s'

  • Error: SQLSTATE: ()

    Message: Result of %s() was larger than max_allowed_packet (%ld) - truncated

  • Error: SQLSTATE: ()

    Message: Conflicting declarations: '%s%s' and '%s%s'

  • Error: SQLSTATE: ()

    Message: Can't create a %s from within another stored routine

  • Error: SQLSTATE: ()

    Message: %s %s already exists

  • Error: SQLSTATE: ()

    Message: %s %s does not exist

  • Error: SQLSTATE: ()

    Message: Failed to DROP %s %s

  • Error: SQLSTATE: ()

    Message: Failed to CREATE %s %s

  • Error: SQLSTATE: ()

    Message: %s with no matching label: %s

  • Error: SQLSTATE: ()

    Message: Redefining label %s

  • Error: SQLSTATE: ()

    Message: End-label %s without match

  • Error: SQLSTATE: ()

    Message: Referring to uninitialized variable %s

  • Error: SQLSTATE: ()

    Message: PROCEDURE %s can't return a result set in the given context

  • Error: SQLSTATE: ()

    Message: RETURN is only allowed in a FUNCTION

  • Error: SQLSTATE: ()

    Message: %s is not allowed in stored procedures

  • Error: SQLSTATE: ()

    Message: The update log is deprecated and replaced by the binary log; SET SQL_LOG_UPDATE has been ignored

  • Error: SQLSTATE: ()

    Message: The update log is deprecated and replaced by the binary log; SET SQL_LOG_UPDATE has been translated to SET SQL_LOG_BIN

  • Error: SQLSTATE: ()

    Message: Query execution was interrupted

  • Error: SQLSTATE: ()

    Message: Incorrect number of arguments for %s %s; expected %u, got %u

  • Error: SQLSTATE: ()

    Message: Undefined CONDITION: %s

  • Error: SQLSTATE: ()

    Message: No RETURN found in FUNCTION %s

  • Error: SQLSTATE: ()

    Message: FUNCTION %s ended without RETURN

  • Error: SQLSTATE: ()

    Message: Cursor statement must be a SELECT

  • Error: SQLSTATE: ()

    Message: Cursor SELECT must not have INTO

  • Error: SQLSTATE: ()

    Message: Undefined CURSOR: %s

  • Error: SQLSTATE: ()

    Message: Cursor is already open

  • Error: SQLSTATE: ()

    Message: Cursor is not open

  • Error: SQLSTATE: ()

    Message: Undeclared variable: %s

  • Error: SQLSTATE: ()

    Message: Incorrect number of FETCH variables

  • Error: SQLSTATE: ()

    Message: No data - zero rows fetched, selected, or processed

  • Error: SQLSTATE: ()

    Message: Duplicate parameter: %s

  • Error: SQLSTATE: ()

    Message: Duplicate variable: %s

  • Error: SQLSTATE: ()

    Message: Duplicate condition: %s

  • Error: SQLSTATE: ()

    Message: Duplicate cursor: %s

  • Error: SQLSTATE: ()

    Message: Failed to ALTER %s %s

  • Error: SQLSTATE: ()

    Message: Subselect value not supported

  • Error: SQLSTATE: ()

    Message: %s is not allowed in stored function or trigger

  • Error: SQLSTATE: ()

    Message: Variable or condition declaration after cursor or handler declaration

  • Error: SQLSTATE: ()

    Message: Cursor declaration after handler declaration

  • Error: SQLSTATE: ()

    Message: Case not found for CASE statement

  • Error: SQLSTATE: ()

    Message: Configuration file '%s' is too big

  • Error: SQLSTATE: ()

    Message: Malformed file type header in file '%s'

  • Error: SQLSTATE: ()

    Message: Unexpected end of file while parsing comment '%s'

  • Error: SQLSTATE: ()

    Message: Error while parsing parameter '%s' (line: '%s')

  • Error: SQLSTATE: ()

    Message: Unexpected end of file while skipping unknown parameter '%s'

  • Error: SQLSTATE: ()

    Message: EXPLAIN/SHOW can not be issued; lacking privileges for underlying table

  • Error: SQLSTATE: ()

    Message: File '%s' has unknown type '%s' in its header

  • Error: SQLSTATE: ()

    Message: '%s.%s' is not %s

  • Error: SQLSTATE: ()

    Message: Column '%s' is not updatable

  • Error: SQLSTATE: ()

    Message: View's SELECT contains a subquery in the FROM clause

  • Error: SQLSTATE: ()

    Message: View's SELECT contains a '%s' clause

  • Error: SQLSTATE: ()

    Message: View's SELECT contains a variable or parameter

  • Error: SQLSTATE: ()

    Message: View's SELECT refers to a temporary table '%s'

  • Error: SQLSTATE: ()

    Message: View's SELECT and view's field list have different column counts

  • Error: SQLSTATE: ()

    Message: View merge algorithm can't be used here for now (assumed undefined algorithm)

  • Error: SQLSTATE: ()

    Message: View being updated does not have complete key of underlying table in it

  • Error: SQLSTATE: ()

    Message: View '%s.%s' references invalid table(s) or column(s) or function(s) or definer/invoker of view lack rights to use them

  • Error: SQLSTATE: ()

    Message: Can't drop or alter a %s from within another stored routine

  • Error: SQLSTATE: ()

    Message: GOTO is not allowed in a stored procedure handler

  • Error: SQLSTATE: ()

    Message: Trigger already exists

  • Error: SQLSTATE: ()

    Message: Trigger does not exist

  • Error: SQLSTATE: ()

    Message: Trigger's '%s' is view or temporary table

  • Error: SQLSTATE: ()

    Message: Updating of %s row is not allowed in %strigger

  • Error: SQLSTATE: ()

    Message: There is no %s row in %s trigger

  • Error: SQLSTATE: ()

    Message: Field '%s' doesn't have a default value

  • Error: SQLSTATE: ()

    Message: Division by 0

  • Error: SQLSTATE: ()

    Message: Incorrect %s value: '%s' for column '%s' at row %ld

  • Error: SQLSTATE: ()

    Message: Illegal %s '%s' value found during parsing

  • Error: SQLSTATE: ()

    Message: CHECK OPTION on non-updatable view '%s.%s'

  • Error: SQLSTATE: ()

    Message: CHECK OPTION failed '%s.%s'

  • Error: SQLSTATE: ()

    Message: %s command denied to user '%s'@'%s' for routine '%s'

  • Error: SQLSTATE: ()

    Message: Failed purging old relay logs: %s

  • Error: SQLSTATE: ()

    Message: Password hash should be a %d-digit hexadecimal number

  • Error: SQLSTATE: ()

    Message: Target log not found in binlog index

  • Error: SQLSTATE: ()

    Message: I/O error reading log index file

  • Error: SQLSTATE: ()

    Message: Server configuration does not permit binlog purge

  • Error: SQLSTATE: ()

    Message: Failed on fseek()

  • Error: SQLSTATE: ()

    Message: Fatal error during log purge

  • Error: SQLSTATE: ()

    Message: A purgeable log is in use, will not purge

  • Error: SQLSTATE: ()

    Message: Unknown error during log purge

  • Error: SQLSTATE: ()

    Message: Failed initializing relay log position: %s

  • Error: SQLSTATE: ()

    Message: You are not using binary logging

  • Error: SQLSTATE: ()

    Message: The '%s' syntax is reserved for purposes internal to the MySQL server

  • Error: SQLSTATE: ()

    Message: WSAStartup Failed

  • Error: SQLSTATE: ()

    Message: Can't handle procedures with different groups yet

  • Error: SQLSTATE: ()

    Message: Select must have a group with this procedure

  • Error: SQLSTATE: ()

    Message: Can't use ORDER clause with this procedure

  • Error: SQLSTATE: ()

    Message: Binary logging and replication forbid changing the global server %s

  • Error: SQLSTATE: ()

    Message: Can't map file: %s, errno: %d

  • Error: SQLSTATE: ()

    Message: Wrong magic in %s

  • Error: SQLSTATE: ()

    Message: Prepared statement contains too many placeholders

  • Error: SQLSTATE: ()

    Message: Key part '%s' length cannot be 0

  • Error: SQLSTATE: ()

    Message: View text checksum failed

  • Error: SQLSTATE: ()

    Message: Can not modify more than one base table through a join view '%s.%s'

  • Error: SQLSTATE: ()

    Message: Can not insert into join view '%s.%s' without fields list

  • Error: SQLSTATE: ()

    Message: Can not delete from join view '%s.%s'

  • Error: SQLSTATE: ()

    Message: Operation %s failed for %s

  • Error: SQLSTATE: ()

    Message: XAER_NOTA: Unknown XID

  • Error: SQLSTATE: ()

    Message: XAER_INVAL: Invalid arguments (or unsupported command)

  • Error: SQLSTATE: ()

    Message: XAER_RMFAIL: The command cannot be executed when global transaction is in the %s state

  • Error: SQLSTATE: ()

    Message: XAER_OUTSIDE: Some work is done outside global transaction

  • Error: SQLSTATE: ()

    Message: XAER_RMERR: Fatal error occurred in the transaction branch - check your data for consistency

  • Error: SQLSTATE: ()

    Message: XA_RBROLLBACK: Transaction branch was rolled back

  • Error: SQLSTATE: ()

    Message: There is no such grant defined for user '%s' on host '%s' on routine '%s'

  • Error: SQLSTATE: ()

    Message: Failed to grant EXECUTE and ALTER ROUTINE privileges

  • Error: SQLSTATE: ()

    Message: Failed to revoke all privileges to dropped routine

  • Error: SQLSTATE: ()

    Message: Data too long for column '%s' at row %ld

  • Error: SQLSTATE: ()

    Message: Bad SQLSTATE: '%s'

  • Error: SQLSTATE: ()

    Message: %s: ready for connections. Version: '%s' socket: '%s' port: %d %s

  • Error: SQLSTATE: ()

    Message: Can't load value from file with fixed size rows to variable

  • Error: SQLSTATE: ()

    Message: You are not allowed to create a user with GRANT

  • Error: SQLSTATE: ()

    Message: Incorrect %s value: '%s' for function %s

  • Error: SQLSTATE: ()

    Message: Table definition has changed, please retry transaction

  • Error: SQLSTATE: ()

    Message: Duplicate handler declared in the same block

  • Error: SQLSTATE: ()

    Message: OUT or INOUT argument %d for routine %s is not a variable or NEW pseudo-variable in BEFORE trigger

  • Error: SQLSTATE: ()

    Message: Not allowed to return a result set from a %s

  • Error: SQLSTATE: ()

    Message: Cannot get geometry object from data you send to the GEOMETRY field

  • Error: SQLSTATE: ()

    Message: A routine failed and has neither NO SQL nor READS SQL DATA in its declaration and binary logging is enabled; if non-transactional tables were updated, the binary log will miss their changes

  • Error: SQLSTATE: ()

    Message: This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its declaration and binary logging is enabled (you *might* want to use the less safe log_bin_trust_function_creators variable)

  • Error: SQLSTATE: ()

    Message: You do not have the SUPER privilege and binary logging is enabled (you *might* want to use the less safe log_bin_trust_function_creators variable)

  • Error: SQLSTATE: ()

    Message: You can't execute a prepared statement which has an open cursor associated with it. Reset the statement to re-execute it.

  • Error: SQLSTATE: ()

    Message: The statement (%lu) has no open cursor.

  • Error: SQLSTATE: ()

    Message: Explicit or implicit commit is not allowed in stored function or trigger.

  • Error: SQLSTATE: ()

    Message: Field of view '%s.%s' underlying table doesn't have a default value

  • Error: SQLSTATE: ()

    Message: Recursive stored functions and triggers are not allowed.

  • Error: SQLSTATE: ()

    Message: Too big scale %d specified for column '%s'. Maximum is %d.

  • Error: SQLSTATE: ()

    Message: Too big precision %d specified for column '%s'. Maximum is %d.

  • Error: SQLSTATE: ()

    Message: For float(M,D), double(M,D) or decimal(M,D), M must be >= D (column '%s').

  • Error: SQLSTATE: ()

    Message: You can't combine write-locking of system '%s.%s' table with other tables

  • Error: SQLSTATE: ()

    Message: Unable to connect to foreign data source: %s

  • Error: SQLSTATE: ()

    Message: There was a problem processing the query on the foreign data source. Data source error: %-.64

  • Error: SQLSTATE: ()

    Message: The foreign data source you are trying to reference does not exist. Data source error: %s

  • Error: SQLSTATE: ()

    Message: Can't create federated table. The data source connection string '%s' is not in the correct format

  • Error: SQLSTATE: ()

    Message: The data source connection string '%s' is not in the correct format

  • Error: SQLSTATE: ()

    Message: Can't create federated table. Foreign data src error: %s

  • Error: SQLSTATE: ()

    Message: Trigger in wrong schema

  • Error: SQLSTATE: ()

    Message: Thread stack overrun: %ld bytes used of a %ld byte stack, and %ld bytes needed. Use 'mysqld -O thread_stack=#' to specify a bigger stack.

  • Error: SQLSTATE: ()

    Message: Routine body for '%s' is too long

  • Error: SQLSTATE: ()

    Message: Cannot drop default keycache

  • Error: SQLSTATE: ()

    Message: Display width out of range for column '%s' (max = %d)

  • Error: SQLSTATE: ()

    Message: XAER_DUPID: The XID already exists

  • Error: SQLSTATE: ()

    Message: Datetime function: %s field overflow

  • Error: SQLSTATE: ()

    Message: Can't update table '%s' in stored function/trigger because it is already used by statement which invoked this stored function/trigger.

  • Error: SQLSTATE: ()

    Message: The definition of table '%s' prevents operation %s on table '%s'.

  • Error: SQLSTATE: ()

    Message: The prepared statement contains a stored routine call that refers to that same statement. It's not allowed to execute a prepared statement in such a recursive manner

  • Error: SQLSTATE: ()

    Message: Not allowed to set autocommit from a stored function or trigger

  • Error: SQLSTATE: ()

    Message: Definer is not fully qualified

  • Error: SQLSTATE: ()

    Message: View '%s'.'%s' has no definer information (old table format). Current user is used as definer. Please recreate the view!

  • Error: SQLSTATE: ()

    Message: You need the SUPER privilege for creation view with '%s'@'%s' definer

  • Error: SQLSTATE: ()

    Message: There is no '%s'@'%s' registered

  • Error: SQLSTATE: ()

    Message: Changing schema from '%s' to '%s' is not allowed.

  • Error: SQLSTATE: ()

    Message: Cannot delete or update a parent row: a foreign key constraint fails (%s)

  • Error: SQLSTATE: ()

    Message: Cannot add or update a child row: a foreign key constraint fails (%s)

  • Error: SQLSTATE: ()

    Message: Variable '%s' must be quoted with `...`, or renamed

  • Error: SQLSTATE: ()

    Message: No definer attribute for trigger '%s'.'%s'. The trigger will be activated under the authorization of the invoker, which may have insufficient privileges. Please recreate the trigger.

  • Error: SQLSTATE: ()

    Message: '%s' has an old format, you should re-create the '%s' object(s)

  • Error: SQLSTATE: ()

    Message: Recursive limit %d (as set by the max_sp_recursion_depth variable) was exceeded for routine %s

  • Error: SQLSTATE: ()

    Message: Failed to load routine %s. The table mysql.proc is missing, corrupt, or contains bad data (internal code %d)

  • Error: SQLSTATE: ()

    Message: Incorrect routine name '%s'

  • Error: SQLSTATE: ()

    Message: Table upgrade required. Please do "REPAIR TABLE `%s`" to fix it!

  • Error: SQLSTATE: ()

    Message: AGGREGATE is not supported for stored functions

  • Error: SQLSTATE: ()

    Message: Can't create more than max_prepared_stmt_count statements (current value: %lu)

  • Error: SQLSTATE: ()

    Message: `%s`.`%s` contains view recursion

  • Error: SQLSTATE: ()

    Message: non-grouping field '%s' is used in %s clause

  • Error: SQLSTATE: ()

    Message: The used table type doesn't support SPATIAL indexes

  • Error: SQLSTATE: ()

    Message: Triggers can not be created on system tables

  • Error: SQLSTATE: ()

    Message: Leading spaces are removed from name '%s'