MySQL Forums
Forum List  »  PHP

Re: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (13)
Posted by: Ray Hoopes
Date: July 07, 2008 05:56PM

I was able to resolve this issue by creating a symbolic link in the the "/tmp" directory to /var/lib/mysql.mysql.sock.

1. cd /tmp
2. ln -s /var/lib/mysql/mysql.sock mysql.sock

Now when I use "mysqlqdmin version", it works correctly.
"mysqladmin variables" now works too!

Please let me know if this helps you. Good Luck !

Options: ReplyQuote




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.