Access denied for user 'UNKNOWN MYSQL_USER'@'localhost' (using password: NO)
I've run into a warning in the logs of MySQL, searching and searching I found the culprit of the warning.
In /etc/init.d/mysqld I found:
STARTTIMEOUT = 120
while [$ STARTTIMEOUT-gt 0] do
RESPONSE = `/ usr / bin / mysqladmin - socket =" $ socketfile "- user = UNKNOWN_MYSQL_USER ping 2> & 1` && break
echo "$ RESPONSE" | grep-q "Access denied for user" && break
if! / bin / kill $ -0 safe_pid 2> / dev / null; Then
echo "failed to start MySQL Daemon."
ret = 1
break
fi
sleep 1
let STARTTIMEOUT = $ {-1} STARTTIMEOUT
I think what it does is try to see if mysql works, am I wrong?
Is there any way to avoid the warning?
Subject
Written By
Posted
Access denied for user 'UNKNOWN MYSQL_USER'@'localhost' (using password: NO)
March 05, 2012 01:19PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.