MySQL & MariaDB error 4079 ER_WARN_DEPRECATED_COLLATION
Same number, two different errors. 4079 means one thing in MySQL and another in MariaDB. Check which server you are connected to.
MySQL'…' is a collation of the deprecated character set …. Please consider using … with an appropriate collation instead.
MariaDBIllegal parameter data type … for operation '…'