I''m a newbie trying to get started. Running os 10.5. Installed rails 2.0, i think, but i''m getting a weird error message when i click "about your environment" Here it is. Any help would be great Errno::ENOENT in Rails/infoController#properties No such file or directory - /tmp/mysql.sock RAILS_ROOT: /Users/mikemckenna/Desktop/corp/newapp Application Trace | Framework Trace | Full Trace Request Parameters: None Show session dump Response Headers: {"cookie"=>[], "Cache-Control"=>"no-cache"} --~--~---------~--~----~------------~-------~--~----~ 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 Feb 12, 2008 3:58 PM, dutch <shotgunflat-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > I''m a newbie trying to get started. Running os 10.5. Installed rails > 2.0, i think, but i''m getting a weird error message when i click > "about your environment"> No such file or directory - /tmp/mysql.sockSo is MySQL 1) installed, 2) running, and 3) using that socket? :-) -- Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
1) yes 2) yes 3) no idea--how can i check that? On Feb 12, 9:14 pm, "Hassan Schroeder" <hassan.schroe...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Feb 12, 2008 3:58 PM, dutch <shotgunf...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > I''m a newbie trying to get started. Running os 10.5. Installed rails > > 2.0, i think, but i''m getting a weird error message when i click > > "about your environment" > > No such file or directory - /tmp/mysql.sock > > So is MySQL 1) installed, 2) running, and 3) using that socket? :-) > > -- > Hassan Schroeder ------------------------ hassan.schroe...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org--~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On Feb 12, 2008 6:59 PM, dutch <shotgunflat-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > 1) yes 2) yes 3) no idea--how can i check that?If you''re sure mysqld is running and it''s *not* using that socket, connect using your mysql client and enter mysql> show variables like ''%sock%''; That should give you something like: +---------------+-----------------+ | Variable_name | Value | +---------------+-----------------+ | socket | /tmp/mysql.sock | +---------------+-----------------+ 1 row in set (0.34 sec) :: though obviously with a different value :-) Use that value in your database configuration. HTH! -- Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Bummer--- it _is_ showing it as /tmp/mysql.sock... On Feb 12, 10:07 pm, "Hassan Schroeder" <hassan.schroe...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Feb 12, 2008 6:59 PM, dutch <shotgunf...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > 1) yes 2) yes 3) no idea--how can i check that? > > If you''re sure mysqld is running and it''s *not* using that socket, > connect using your mysql client and enter > > mysql> show variables like ''%sock%''; > > That should give you something like: > > +---------------+-----------------+ > | Variable_name | Value | > +---------------+-----------------+ > | socket | /tmp/mysql.sock | > +---------------+-----------------+ > 1 row in set (0.34 sec) > > :: though obviously with a different value :-) > > Use that value in your database configuration. > > HTH! > -- > Hassan Schroeder ------------------------ hassan.schroe...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org--~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Can you actually verify that /tmp/mysql.sock exists on your computer? Something tells me it doesn''t. You should try to locate which socket is being used. On my computer (I installed mysql through macports), it is in an entirely different area. -- 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 -~----------~----~----~----~------~----~------~--~---