Troubleshooting MYSQL or MariaDB Errors from Error 1271 to 1280


MariaDB ERROR Code 1271
MySQL SQL State HY000
Illegal mix of collations for operation ‘%s’
MariaDB ERROR Code 1272
MySQL SQL State HY000
Variable ‘%s’ is not a variable component (can’t be used as XXXX.variable_name)
MariaDB ERROR Code 1273
MySQL SQL State HY000
Unknown collation: ‘%s’

MariaDB ERROR Code 1274
MySQL SQL State HY000
SSL parameters in CHANGE MASTER are ignored because this MariaDB slave was compiled without SSL support; they can be used later if MariaDB slave with SSL is started
MariaDB ERROR Code 1275
MySQL SQL State HY000
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
MariaDB ERROR Code 1276
MySQL SQL State HY000
Field or reference ‘%s%s%s%s%s’ of SELECT #%d was resolved in SELECT #%d

MariaDB ERROR Code 1277
MySQL SQL State HY000
Incorrect parameter or combination of parameters for START SLAVE UNTIL
MariaDB ERROR Code 1278
MySQL SQL State HY000
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
MariaDB ERROR Code 1279
MySQL SQL State HY000
SQL thread is not to be started so UNTIL options are ignored
MariaDB ERROR Code 1280
MySQL SQL State 42000
Incorrect index name ‘%s’

Above are the list of shared MySQL and MariaDB Error Codes and their Description including SQL state and exact error code from Error 1271 to 1280 which performing certain operations against MySQL or MariaDB.

What are MYSQL/MariaDB Errors?

MySQL and MariaDB programs have access to several types of common error information when the server returns an error.

The MYSQL/MariaDB 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.

SQLServerF1 Team
Information about MYSQL and MariaDB 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 *