Jiann-Ming Su wrote:

if test -n "`ps acx|grep mysqld`"; then
/usr/bin/mysqladmin flush-logs
fi

You're probably running it as root with the password loading from the /root/.my.cnf or something. Try adding the -uroot -p.... command-line options, or a [mysqladmin] section to your ~root/.my.cnf file.

--
Michael T. Babcock
C.T.O., FibreSpeed Ltd.
http://www.fibrespeed.net/~mbabcock



---------------------------------------------------------------------
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