Missing mysql.sock file
I updated MySQL with yum.
And it doesn’t start now.
I try find / | grep mysql.sock.
I can’t see any sock file.
How can I create it? Or any possible solution?
Thanks.
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.
Check more discussion of this question.
Related posts:
- 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
Leave a comment
Recent Posts
Tags
active-directory
amazon-ec2
apache
apache2
backup
bash
centos
cisco
command-line
debian
dns
email
exchange
firewall
iis
iis7
iptables
linux
macosx
monitoring
mysql
networking
nginx
performance
permissions
php
postfix
raid
security
sql-server
sql-server-2005
sql-server-2008
ssh
ssl
ubuntu
unix
virtualization
vpn
webserver
windows
windows-7
windows-server-2003
windows-server-2008
windows-server-2008-r2
windows-xp





