mysqldude
Error codes › 4166

MySQL & MariaDB error 4166 ER_WARN_DEPRECATED_WITH_NOTE

Same number, two different errors. 4166 means one thing in MySQL and another in MariaDB. Check which server you are connected to.
MySQL'…' is deprecated and will be removed in a future release. …
MariaDBThe used command is not allowed because the MariaDB server or client has disabled the local infile capability
Example from our test runs: The used command is not allowed because the MariaDB server or client has disabled the local infile capability (10.6.28)
MySQLMariaDB
SymbolER_WARN_DEPRECATED_WITH_NOTEER_LOAD_INFILE_CAPABILITY_DISABLED
SQLSTATEHY000HY000
TypeServer errorServer error
Versionssince 8.0.36 activesince 10.5.29 active