Traditional ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysqld/mysqld.sock' (2)
Disk space is there. The mysqld service starts.
In UNKNOWN_MYSQL_USER@localhost as on SET NAMES Quit logs UNKNOWN_MYSQL_USER@localhost as on SET NAMES Quit
What is it?
How can you see what causes with such a UNKNOWN_MYSQL_USER ? And how can it be changed?
Yes. And where many looked. Initially, I did not start the mysqld server at all, fixed the tables, set the rights to the folders and killed the processes and so on.
Update
The problem did not go away, but I, in fact, did not know what to do. The only place I see at least something about UKNOWN_MYSQL_USER is
/etc/init.d/mysqld -start(){ [ -x $exec ] || exit 5 # check to see if it's already running RESPONSE=`/usr/bin/mysqladmin --socket="$socketfile" -- user=UNKNOWN_MYSQL_USER ping 2>&1` if [ $? = 0 ]; then # already running, do nothing action $"Starting $prog: " /bin/true ret=0 elif echo "$RESPONSE" | grep -q "Access denied for user"