Hello there!
I have added recently administrative user to mysql database:
#mysqladmin -u root password someposword
since then I'm getting every day such e-mail from logrotate demon:
Subject: errors rotating logs Message: errors occured while rotating /var/lib/mysql/mysql.log
mysqladmin: connect to server at 'localhost' failed error: 'Access denied for user: 'root@localhost' (Using password: NO)' error running postrotate script
My rogrotate demon have such configuration file for mysql: /var/lib/mysql/mysql.log { rotate 3 daily compress postrotate mysqladmin flush-logs endscript }
Any advice will be greatly appreciated!
--------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to