Getting this error: Errno::ENOENT in StateController#list No such file or directory - /tmp/mysql.sock On my server I found mysql.sock in /var/lib/mysql/mysql.sock adding socket: /var/lib.... etc didn''t help My next attempt is to create a symbolic link however, is the tmp directory the one in the Rails tmp directory ? Stuart -- http://en.wikipedia.org/wiki/Dark_ambient --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On 11/9/06, Dark Ambient <sambient-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Getting this error: > > Errno::ENOENT in StateController#list > > No such file or directory - /tmp/mysql.sock > > On my server I found mysql.sock in /var/lib/mysql/mysql.sock > adding socket: /var/lib.... etc didn''t help > My next attempt is to create a symbolic link however, > is the tmp directory the one in the Rails tmp directory ?The symbolic link worked , but now I''m getting an error Access denied for user: ''root@localhost'' (Using password: NO) even though I''ve enabled production and added the username and password ? Stuart --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Stuart Fellowes wrote:> Getting this error: > > Errno::ENOENT in StateController#list > > No such file or directory - /tmp/mysql.sock > > On my server I found mysql.sock in /var/lib/mysql/mysql.sock > adding socket: /var/lib.... etc didn''t help > My next attempt is to create a symbolic link however, > is the tmp directory the one in the Rails tmp directory ? > > Stuart > > -- > http://en.wikipedia.org/wiki/Dark_I think the line should be: sock: /var/lib/mysql/mysql.sock not socket: /var/lib/mysql/mysql.sock ^^ And, no the tmp directory where rails is looking by default is the one off the root (/) folder, not the one in your rails app. c. PS does everyone else get [Your post seems to contain Spam: "amb ien"] (space added) when they reply to your posts? :) :) -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---