My webhost is migrating clients including me to a new server and as part of that I have discovered that they have taken us from mysql 5.6 to MariaDB 10.3.29
Seems MariaDB sql error logging is a plugin [SQL Error Log Plugin] - assuming " The SQL_ERROR_LOG plugin collects errors sent to clients in a log file" means collecting issues such as for example an sql statement attempting to update a table record with a null which is no longer allowed.
SHOW PLUGINS revealed it wasn't enabled so, my.cnf was added to with
[mariadb]
# sql errors plugin from SQL Error Log Plugin
plugin_load_add = sql_errlog
sql_error_log_filename = /var/lib/mysql/mysql-err.log
and sql server restarted, then
SHOW PLUGINS reveals it worked:
However a CAT of that mysql-err.log file reveals:
2021-06-10 13:30:01 [Cpanel::MysqlUtils::Unprivileged] @ localhost [] ERROR 1251: Client does not support authentication protocol requested by server; consider upgrading MariaDB client : (null)
2021-06-10 13:30:01 [Cpanel::MysqlUtils::Unprivileged] @ localhost [] ERROR 1160: Got an error writing communication packets : (null)
2021-06-10 13:48:51 [Cpanel::MysqlUtils::Unprivileged] @ localhost [] ERROR 1251: Client does not support authentication protocol requested by server; consider upgrading MariaDB client : (null)
2021-06-10 13:48:51 [Cpanel::MysqlUtils::Unprivileged] @ localhost [] ERROR 1160: Got an error writing communication packets : (null)
2021-06-10 13:48:51 [Cpanel::MysqlUtils::Unprivileged] @ localhost [] ERROR 1251: Client does not support authentication protocol requested by server; consider upgrading MariaDB client : (null)
2021-06-10 13:48:51 [Cpanel::MysqlUtils::Unprivileged] @ localhost [] ERROR 1160: Got an error writing communication packets : (null)
I need this sql error file working to help identify sql issues that will/have arisen from the transition from mysql 5.6 to MariaDB 10.3.29 - any advice appreciated.
Seems MariaDB sql error logging is a plugin [SQL Error Log Plugin] - assuming " The SQL_ERROR_LOG plugin collects errors sent to clients in a log file" means collecting issues such as for example an sql statement attempting to update a table record with a null which is no longer allowed.
SHOW PLUGINS revealed it wasn't enabled so, my.cnf was added to with
[mariadb]
# sql errors plugin from SQL Error Log Plugin
plugin_load_add = sql_errlog
sql_error_log_filename = /var/lib/mysql/mysql-err.log
and sql server restarted, then
SHOW PLUGINS reveals it worked:
SQL_ERROR_LOG | ACTIVE | AUDIT | sql_errlog.so | GPL |
However a CAT of that mysql-err.log file reveals:
2021-06-10 13:30:01 [Cpanel::MysqlUtils::Unprivileged] @ localhost [] ERROR 1251: Client does not support authentication protocol requested by server; consider upgrading MariaDB client : (null)
2021-06-10 13:30:01 [Cpanel::MysqlUtils::Unprivileged] @ localhost [] ERROR 1160: Got an error writing communication packets : (null)
2021-06-10 13:48:51 [Cpanel::MysqlUtils::Unprivileged] @ localhost [] ERROR 1251: Client does not support authentication protocol requested by server; consider upgrading MariaDB client : (null)
2021-06-10 13:48:51 [Cpanel::MysqlUtils::Unprivileged] @ localhost [] ERROR 1160: Got an error writing communication packets : (null)
2021-06-10 13:48:51 [Cpanel::MysqlUtils::Unprivileged] @ localhost [] ERROR 1251: Client does not support authentication protocol requested by server; consider upgrading MariaDB client : (null)
2021-06-10 13:48:51 [Cpanel::MysqlUtils::Unprivileged] @ localhost [] ERROR 1160: Got an error writing communication packets : (null)
I need this sql error file working to help identify sql issues that will/have arisen from the transition from mysql 5.6 to MariaDB 10.3.29 - any advice appreciated.