Hi all,
I'm investigating an intermittent problem reported by a colleague with records not being editable and sometimes returning a 500 Internal Server Error. Upon investigating I noticed that /var/log/mysql/error.log was over 1 GB, and full of lines like:
2024-01-05T17:01:25.971507Z 673 [Warning] [MY-013360] [Server] Plugin mysql_native_password reported: ''mysql_native_password' is deprecated and will be removed in a future release. Please use caching_sha2_password instead'
We are using the following version of MySQL with Atom 2.7.3:
mysql-server/unknown,now 8.0.35-1ubuntu20.04 amd64
Googling suggested this might be caused by something connecting to mysqlx, which listens on port 33060:
lsof -i -P -n | grep 3306
mysqld 3911 mysql 20u IPv6 82053 0t0 TCP *:33060 (LISTEN)
I successfully disabled mysqlx by adding mysqlx = off to my.cnf:
/etc/mysql/my.cnf
[mysqld]
mysqlx = off
However, tail -f -ing the error.log, showed that the repeating lines were still coming. After further testing, it looks like just browsing the site in an ordinary, human way triggers the lines.
Has anyone elese noticed this, and found a way to suppress those lines? I'm surprised this is coming up at all; our server is configured with the default auth plugin set to caching_sha2_password anyway (as is applicable to AtoM 2.7.x).
Thanks, Jim