MYSQL Error Messages and Failure Codes from Error 1000 to 1010

SQLServerF1

Error: 1000 SQLSTATE: HY000 (ER_HASHCHK)
Message: hashchk
Error: 1001 SQLSTATE: HY000 (ER_NISAMCHK)
Message: isamchk
Error: 1002 SQLSTATE: HY000 (ER_NO)
Message: NO
Error: 1003 SQLSTATE: HY000 (ER_YES)
Message: YES
Error: 1004 SQLSTATE: HY000 (ER_CANT_CREATEE_FILE)

Message: Can’t create file ‘%s’ (errno: %d)
Error: 1005 SQLSTATE: HY000 (ER_CANT_CREATEE_TABLE)
Message: Can’t createe table ‘%s’ (errno: %d)
Error: 1006 SQLSTATE: HY000 (ER_CANT_CREATEE_DB)
Message: Can’t createe database ‘%s’ (errno: %d)
Error: 1007 SQLSTATE: HY000 (ER_DB_CREATEE_EXISTS)

Message: Can’t createe database ‘%s’; database exists
Error: 1008 SQLSTATE: HY000 (ER_DB_DROPP_EXISTS)
Message: Can’t dropp database ‘%s’; database doesn’t exist
Error: 1009 SQLSTATE: HY000 (ER_DB_DROPP_DELETE)
Message: Error dropping database (can’t delete ‘%s’, errno: %d)
Error: 1010 SQLSTATE: HY000 (ER_DB_DROPP_RMDIR)
Message: Error dropping database (can’t rmdir ‘%s’, errno: %d)

Above are MYSQL Error Codes from Error 1000 to 1010 received while performing certain operation against MYSQL Database or related products.

What are MYSQL Errors?
MySQL programs have access to several types of error information when the server returns an error.

The MYSQL message displayed contains three types of information:
A numeric error code. This number is MySQL-specific and is not portable to other database systems.
A five-character SQLSTATE value. The values are specified by ANSI SQL and ODBC and are more standardized. Not all MySQL error numbers are mapped to SQLSTATE error codes.
A message string that provides a textual description of the error.
When an error occurs, you can access the MySQL error code, the SQLSTATE value, and the message string using C API functions:
MySQL error code: Call mysql_errno()
SQLSTATE value: Call mysql_sqlstate()
Error message: Call mysql_error()

Hope this was helpful.

Thanks,
SQLServerF1 Team
Information about MYSQL Error Codes and Error Messages or Warnings on Windows, Linux Operating Systems.

 

Leave a Reply

Your email address will not be published. Required fields are marked *