B.2. Client Error Codes and Messages

MySQL 5.0

B.2. Client Error Codes and Messages

Client error information comes from the following source files:

  • The Error values and the symbols in parentheses correspond to definitions in the MySQL source file.

  • The Message values correspond to the error messages that are listed in the file. and represent numbers and strings, respectively, that are substituted into the messages when they are displayed.

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

  • Error: ()

    Message: Unknown MySQL error

  • Error: ()

    Message: Can't create UNIX socket (%d)

  • Error: ()

    Message: Can't connect to local MySQL server through socket '%s' (%d)

  • Error: ()

    Message: Can't connect to MySQL server on '%s' (%d)

  • Error: ()

    Message: Can't create TCP/IP socket (%d)

  • Error: ()

    Message: Unknown MySQL server host '%s' (%d)

  • Error: ()

    Message: MySQL server has gone away

  • Error: ()

    Message: Protocol mismatch; server version = %d, client version = %d

  • Error: ()

    Message: MySQL client ran out of memory

  • Error: ()

    Message: Wrong host info

  • Error: ()

    Message: Localhost via UNIX socket

  • Error: ()

    Message: %s via TCP/IP

  • Error: ()

    Message: Error in server handshake

  • Error: ()

    Message: Lost connection to MySQL server during query

  • Error: ()

    Message: Commands out of sync; you can't run this command now

  • Error: ()

    Message: Named pipe: %s

  • Error: ()

    Message: Can't wait for named pipe to host: %s pipe: %s (%lu)

  • Error: ()

    Message: Can't open named pipe to host: %s pipe: %s (%lu)

  • Error: ()

    Message: Can't set state of named pipe to host: %s pipe: %s (%lu)

  • Error: ()

    Message: Can't initialize character set %s (path: %s)

  • Error: ()

    Message: Got packet bigger than 'max_allowed_packet' bytes

  • Error: ()

    Message: Embedded server

  • Error: ()

    Message: Error on SHOW SLAVE STATUS:

  • Error: ()

    Message: Error on SHOW SLAVE HOSTS:

  • Error: ()

    Message: Error connecting to slave:

  • Error: ()

    Message: Error connecting to master:

  • Error: ()

    Message: SSL connection error

  • Error: ()

    Message: Malformed packet

  • Error: ()

    Message: This client library is licensed only for use with MySQL servers having '%s' license

  • Error: ()

    Message: Invalid use of null pointer

  • Error: ()

    Message: Statement not prepared

  • Error: ()

    Message: No data supplied for parameters in prepared statement

  • Error: ()

    Message: Data truncated

  • Error: ()

    Message: No parameters exist in the statement

  • Error: ()

    Message: Invalid parameter number

  • Error: ()

    Message: Can't send long data for non-string/non-binary data types (parameter: %d)

  • Error: ()

    Message: Using unsupported buffer type: %d (parameter: %d)

  • Error: ()

    Message: Shared memory: %s

  • Error: ()

    Message: Can't open shared memory; client could not create request event (%lu)

  • Error: ()

    Message: Can't open shared memory; no answer event received from server (%lu)

  • Error: ()

    Message: Can't open shared memory; server could not allocate file mapping (%lu)

  • Error: ()

    Message: Can't open shared memory; server could not get pointer to file mapping (%lu)

  • Error: ()

    Message: Can't open shared memory; client could not allocate file mapping (%lu)

  • Error: ()

    Message: Can't open shared memory; client could not get pointer to file mapping (%lu)

  • Error: ()

    Message: Can't open shared memory; client could not create %s event (%lu)

  • Error: ()

    Message: Can't open shared memory; no answer from server (%lu)

  • Error: ()

    Message: Can't open shared memory; cannot send request event to server (%lu)

  • Error: ()

    Message: Wrong or unknown protocol

  • Error: ()

    Message: Invalid connection handle

  • Error: ()

    Message: Connection using old (pre-4.1.1) authentication protocol refused (client option 'secure_auth' enabled)

  • Error: ()

    Message: Row retrieval was canceled by mysql_stmt_close() call

  • Error: ()

    Message: Attempt to read column without prior row fetch

  • Error: ()

    Message: Prepared statement contains no metadata

  • Error: ()

    Message: Attempt to read a row while there is no result set associated with the statement

  • Error: ()

    Message: This feature is not implemented yet