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.
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)