MYSQL Error Messages and Failure Codes from Error 1651 to 1660

SQLServerF1

Error: 1651 SQLSTATE: HY000 (ER_QUERY_CACHE_DISABLED)
Message: Query cache is disabled; restart the server with query_cache_type=1 to enable it
Error: 1652 SQLSTATE: HY000 (ER_SAME_NAME_PARTITION_FIELD)
Message: Duplicate partition field name ‘%s’
Error: 1653 SQLSTATE: HY000 (ER_PARTITION_COLUMN_LIST_ERROR)
Message: Inconsistency in usage of column lists for partitioning

Error: 1654 SQLSTATE: HY000 (ER_WRONG_TYPE_COLUMN_VALUE_ERROR)
Message: Partition column values of incorrect type
Error: 1655 SQLSTATE: HY000 (ER_TOO_MANY_PARTITION_FUNC_FIELDS_ERROR)
Message: Too many fields in ‘%s’
Error: 1656 SQLSTATE: HY000 (ER_MAXVALUE_IN_VALUES_IN)
Message: Cannot use MAXVALUE as value in VALUES IN

Error: 1657 SQLSTATE: HY000 (ER_TOO_MANY_VALUES_ERROR)
Message: Cannot have more than one value for this type of %s partitioning
Error: 1658 SQLSTATE: HY000 (ER_ROW_SINGLE_PARTITION_FIELD_ERROR)
Message: Row expressions in VALUES IN only allowed for multi-field column partitioning
Error: 1659 SQLSTATE: HY000 (ER_FIELD_TYPE_NOT_ALLOWED_AS_PARTITION_FIELD)
Message: Field ‘%s’ is of a not allowed type for this type of partitioning
Error: 1660 SQLSTATE: HY000 (ER_PARTITION_FIELDS_TOO_LONG)
Message: The total length of the partitioning fields is too large

Above are MYSQL Error Codes from Error 1651 to 1660 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 *