dv dhanadan
2011-Nov-07 11:31 UTC
connect'': Can''t connect to local MySQL server through socket ''/var/lib/mysql/mysql.sock'' (2) (Mysql2
Hi all, I did a fresh install of ROR on my fedora 15,i get the following error. " $ rails s => Booting WEBrick => Rails 3.1.1 application starting in development on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server Exiting /home/prescience/.rvm/gems/ruby-1.9.2-p290/gems/mysql2-0.3.6/lib/mysql2/client.rb:43:in `connect'': Can''t connect to local MySQL server through socket ''/var/lib/mysql/mysql.sock'' (2) (Mysql2::Error)" Before i got this error i tried all the below mentioned steps. 1)Did a fresh install of Fedora 15. 2)Installed curl.Installed git core,installed gcc,Installed 3)Installed RVM.. 4)Installed Ruby 1.9.2 p290 5)Installed rails 3.1.1. 6)Installed Mysql server and Mysql devel. 7)Pulled my project from git. 8)Did a bundle install. 9)Then when i started the rails server. i got the above mentioned error pl help me sos........ -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
murali dhararao
2011-Nov-07 11:33 UTC
Re: connect'': Can''t connect to local MySQL server through socket ''/var/lib/mysql/mysql.sock'' (2) (Mysql2
Can you give me your database.yml configurations? On Mon, Nov 7, 2011 at 5:01 PM, dv dhanadan <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Hi all, > I did a fresh install of ROR on my fedora 15,i get the > following error. > > " $ rails s > > => Booting WEBrick > => Rails 3.1.1 application starting in development on > http://0.0.0.0:3000 > => Call with -d to detach > => Ctrl-C to shutdown server > Exiting > > /home/prescience/.rvm/gems/ruby-1.9.2-p290/gems/mysql2-0.3.6/lib/mysql2/client.rb:43:in > `connect'': Can''t connect to local MySQL server through socket > ''/var/lib/mysql/mysql.sock'' (2) (Mysql2::Error)" > > Before i got this error i tried all the below mentioned steps. > 1)Did a fresh install of Fedora 15. > 2)Installed curl.Installed git core,installed gcc,Installed > 3)Installed RVM.. > 4)Installed Ruby 1.9.2 p290 > 5)Installed rails 3.1.1. > 6)Installed Mysql server and Mysql devel. > 7)Pulled my project from git. > 8)Did a bundle install. > 9)Then when i started the rails server. i got the above mentioned error > pl help me sos........ > > -- > 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- Thanks & Regards, MuraliDharaRao.T +91-9642234646 -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Maybe Matching Threads
- /usr/bin/ld: cannot find -lmysqlclient_r installing ruby gem mysql2.... in Fedora Linux + MySQL 5.5.15...
- Installing Rails Help!
- NoMethodError: undefined method `accept' for nil:NilClass
- mysql2 error in production
- GEMFile gem 'mysql2' and mysql version is 4.1.2