Can't find mysql

Hi, I have some trouble now.

I’ve got ubuntu 10.10, rvm and ruby 1.9.2 and rails 3.0.9

I created an “rails new app -d mysql” rails application.

Then I create controller on it, Pages:
“rails generate controller Pages home contact links”

when I run the server and go to 127.0.0.1:3000/pages/home, i read this:

“Mysql2::Error:
Can’t connect to local MySQL server through socket
‘/var/run/mysqld/mysqld.sock’ (2)”

What I must do?

That’s example of my database.yml file:
“development:
adapter: mysql2
encoding: utf8
reconnect: false
database: vragirusi_development
pool: 5
username: root
password:
host: localhost”

Thanks in advance, misha

bump!

bump else!