DISQUS

DISQUS Hello!  The comments on this profile are unclaimed and thus are unverified.

Do they belong to you? Claim these comments.

hans gruber's picture

Unregistered

Feeds

aliases

  • hans gruber

hans gruber

4 years ago

in Solve: Can’t connect to local MySQL server through socket /tmp/mysql.sock | MySQL | Tech-Recipes on Tech-Recipes
This may *sound* like a kludge as this will **CONFIRM** the abovestated steps.

Simply create a symbolic link under the "/tmp" directory BACK to the "mysql.sock" file. Make sure that it's worldwide read/write-able. To do so would be like this:

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

Try it then -- if it is still having trouble, then you might have something else wrong; otherwise, this is because of the RPM installation that you might've used from Red Hat (aka "Fedora").

Just a friendly hint....cheers!

hg
Returning? Login