Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'localhost connection problem' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
localhost connection problem
Authored by: Skurfer on Mar 23, '05 04:23:00PM

I think you might be having the opposite problem from me. I always connect to MySQL from my Mac using ssh to forward ports. When I told the MySQL Administrator tool to connect to "localhost", it tries to use the socket in /tmp no matter what, even though I'm not running MySQL locally, haven't asked it to use the socket, and I've specified a non-default port number.

I finally got it to connect (sort-of) by using "127.0.0.1" instead of "localhost", but it still seems to be confused about which machine it's talking to. For example, it says the server is stopped, and it looks for an error log based on my local hostname. Looks like the tool still needs some work.

Anyway, maybe you would have better luck connecting to "localhost", since you actually are running a local instance.



[ Reply to This | # ]