A Frustrated Beginner

I have tried everything in my power to get this program up and running
and it is not working for me. I have installed RoR on my Windows XP
machine. I have Instant Rails and Ruby on Rails and I am using Instant
Rails to connect the mySQL database to Ruby on Rails. It is not
working.

Everything works fine except when I create a scaffold it gives me an
error in mySQL.
The error reads,

“> ruby script/generate scaffold Product Admin
exists app/controllers/
exists app/helpers/
exists app/views/admin
exists app/views/layout
exists test/functional/
dependency model
exists app/models/
exists test/unit/
exists test/fixtures/
identical app/models/product.rb
identical test/unit/products.ywl
identical test/fixtures/product.yml
#28000Access denied for user ‘root’@‘localhost’ (using password: NO)”.

I have done this several time and continue to get the same error. Is
there anyone that can chat with me on an instant messenger or live
chat to help me with my problem, if possible.

My config/database.yml files shows,

MySQL (default setup). Versions 4.1 and 5.0 are recommended.

Install the MySQL driver:

gem install mysql

On MacOS X:

gem install mysql – --include=/usr/local/lib

On Windows:

gem install mysql

Choose the win32 build.

Install MySQL and put its /bin directory on your path.

And be sure to use new-style password hashing:

http://dev.mysql.com/doc/refman/5.0/en/old-client.html

development:
adapter: mysql
database: depot_development
username: root
password:
host: localhost

Warning: The database defined as ‘test’ will be erased and

re-generated from your development database when you run ‘rake’.

Do not set this db to the same as development or production.

test:
adapter: mysql
database: depot_test
username: root
password:
host: localhost

production:
adapter: mysql
database: depot_production
username: root
password:
host: localhost

It seems to be correct to me.

Any ideas? Is there anyone I can chat with real time about this?

It was the password thing. Bharat was correct. Thank you.