I updated MySQL with yum.
And it doesn’t start now.
find / | grep mysql.sock.
I can’t see any sock file.
How can I create it? Or any possible solution?
It sounds like mysqld isn’t running at all. Be sure to remove the invalid/old options from /etc/my.cnf and then check in the log that mysqld starts correctly.
- MySQL deleting the sock file and complained about the permission for it
- Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (2)
- Webserver: chrooted PHP gives mysql.sock error when attempting to reach mysql
- Mysql Sock Problem
- No such file or directory – /var/run/mysqld/mysqld.sock