Comments - Spurious - "Access denied for user 'root'@'localhost' (using password: NO)" in the /var/log/mysql/error.log.1 file
Content reproduced on this site is the property of its respective owners,
and this content is not reviewed in advance by MariaDB. The views, information and opinions
expressed by this content do not necessarily represent those of MariaDB or any other party.
Unfortunately changing the login for root'@'localhost to unix_socket did not work. It finally occurred to me to look at the time stamps in the /var/log/syslog.1 which provided more detail on the concerning why the login attempts were being rejected.
syslog,1: ---------------------------------------------------------------------------------- Jul 19 00:00:14 Alcor logrotate[338420]: #007mysqladmin: connect to server at 'localhost' failed
Jul 19 00:00:14 Alcor logrotate[338420]: error: 'Access denied for user 'root'@'localhost' (using password: NO)'
Jul 19 00:00:14 Alcor logrotate[338280]: error: error running shared postrotate script for '/var/log/mysql/mysql.log /var/log/mysql/mysql-slow.log /var/log/mysql/mariadb-slow.log /var/log/mysql/error.log '