Can’t connect to local MySQL server through socket ‘/tmp/mysql.sock’
Friday, February 29th, 2008This error can be quite a pain when setting up a new server. It normally is not hard to fix so here are the ways we have used the most:
Can’t connect to local MySQL server through socket ‘/tmp/mysql.sock’
- Your mysql.sock might be located elsewhere use ‘find / -name mysql.sock’
- If it is located else where then ln -s [target] [nameoflink] this will link the file and allow it to start.
Permissions
- If you didnt find mysql.sock on your system then do ‘cd /’
- Then ‘chmod 777 tmp’
Those should fix the issue
![Validate my RSS feed [Valid RSS]](http://fiber-hosting.com/docs/valid-rss.png)