tjsys wrote:
>
> Hello?
> i am Park in Seoul Korea.
> In the morning, I got a mail as follows;
> -------------------------------
> Subject: errors rotating logs
> Status: RO
>
> 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
> ----------------------------------------
> What can i do to solve this problem?
> Log file is like "-rw-r--r-- 1 mysql mysql 0 Jun 8 04:02
>
> mysql.log"
> Thank you for reading.
> take care
>
To fix the problem, make sure your log rotator connects to mysql using
the root passord for MySQL that you have set up.
--
Sasha Pachev
http://www.sashanet.com