Access denied for user 'root'@'localhost'

Hi guys,
You know the simple "Hello World!" application which get rails to
say on
a web page "Hello World!", yeah? Well i'm am having trouble with it.
Everytime i go onto the http://localhost:3000/say/hello it come up

Mysql::Error in SayController#hello
#28000Access denied for user 'root'@'localhost' (using password: NO)
RAILS_ROOT: C:/ruby/demo

What exactly is in your database.yml ?


Can you connect on the command line with

mysql -u root -p demo_development