Scaffold gets Access denied error

I’m going through the examples in the Rails book and I’m hung up on
scaffolding. I actually got it to work last week. This week, having
changed nothing it doesn’t work. So I’m going through the depot tutorial
on a new server and now I can’t even get scaffold to work. I’ve set up
the database, and everything is correct in my database.yml file. What
could the problem be?

-jailshell-3.00$ script/generate scaffold Product Admin
exists app/controllers/
exists app/helpers/
exists app/views/admin
exists test/functional/
dependency model
exists app/models/
exists test/unit/
exists test/fixtures/
identical app/models/product.rb
identical test/unit/product_test.rb
identical test/fixtures/products.yml
Access denied for user ‘libhost_deopt’@‘localhost’ (using password: YES)

==

development:
adapter: mysql
database: libhost_depot
host: localhost
username: libhost_deopt
password: libhost_depot

Any tips/pointers are welcome.

-Will

would help to know version of mysql and rails being used.
you may want to look at thread immediately above this one, or see
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/169979
http://news.gmane.org/gmane.comp.lang.ruby.rails/cutoff=33950 (see
‘Mysql troubles’)