On Apr 11, 2007, at 22:32, Karl Timmermann wrote:
When using the mysql5 +server port, I can't connect locally to mysql using localhost (root). Only 127.0.0.1 and the unix socket works. Any ideas how to fix? A lot of people have this problem on other platforms, as seen here in the comments section here:
http://dev.mysql.com/doc/refman/5.0/en/can-not-connect-to-server.html
However, none of those suggested fixed worked. I even tried removing the Unix socket line from the port file to see if that worked, but it did not.
Need more info. What concrete problem do you experience? What error message? Is it about the socket file not existing? If so, does it tell you what path it's looking for the socket file at? If so, does the socket exist there? If so, are its permissions OK? If the socket is not there, why not? Is your mysql server running? What OS version? What processor architecture? What solutions have you already tried? etc. etc. etc.