mysqldude
Error codes › 4162

MySQL & MariaDB error 4162 ER_WARN_DEPRECATED_USER_DEFINED_COLLATIONS

Same number, two different errors. 4162 means one thing in MySQL and another in MariaDB. Check which server you are connected to.
MySQL'…' is a user defined collation. User defined collations are deprecated and will be removed in a future release. Consider using a compiled collation instead.
MariaDBOperator does not exist: '…'
MySQLMariaDB
SymbolER_WARN_DEPRECATED_USER_DEFINED_COLLATIONSER_UNKNOWN_OPERATOR
SQLSTATEHY000HY000
TypeServer errorServer error
Versionssince 8.0.36 activesince 10.5.29 active
How the message changed between versions
MariaDB fromSymbolMessage
10.5.29ER_UNKNOWN_OPERATOROperator does not exist: '%-.128s'
10.7.8ER_UNKNOWN_OPERATOROperator does not exists: '%-.128s'
10.11.20ER_UNKNOWN_OPERATOROperator does not exist: '%-.128s'
11.3.2ER_UNKNOWN_OPERATOROperator does not exists: '%-.128s'
11.4.14ER_UNKNOWN_OPERATOROperator does not exist: '%-.128s'