Comments - Spurious - "Access denied for user 'root'@'localhost' (using password: NO)" in the /var/log/mysql/error.log.1 file

2 years, 9 months ago Stephen Rynas
This comment has the status of 'removed' and can only be seen by you.

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 '

 
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.