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?