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…

Can you give me your database.yml configurations?

On Mon, Nov 7, 2011 at 5:01 PM, dv dhanadan [email protected]
wrote:

=> Ctrl-C to shutdown server
4)Installed Ruby 1.9.2 p290

You received this message because you are subscribed to the Google G.
“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.


Thanks & Regards,
MuraliDharaRao.T
+91-9642234646