Have you tried connecting to your server by address and port instead
of using the mysql.sock file? I am not sure if Locomotive was
configured to allow connection via the socket.

On Oct 25, 9:37 pm, Tim <[EMAIL PROTECTED]> wrote:
> Hi, I am having trouble connecting to mysql on a locomotive
> installation.  Everything is working fine through my rails application
> (it is able to read the database via the database.yml configuration),
> but when I try to connect through mysql Administrator or some other
> GUI type tool, it says the following error.
>
> Connection error.  Could not connect to MySQL instance on localhost.
> Error: Can't connect to local MySQL server through socket '/tmp/
> mysql.sock' (2) (code 2002).
>
> I tried to find the .sock file but I am not sure where to find it in
> the locomotive installation so that I can map to it.
>
> Thanks,
> Tim
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to