Forum: Ruby on Rails scaffold gets Access denied error

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Will (Guest)
on 2005-12-13 21:15
(Received via mailing list)
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)


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

Any tips/pointers are welcome.

Lou V. (Guest)
on 2005-12-13 22:31
(Received via mailing list)
would help to know version of mysql and rails being used.
you may want to look at thread immediately above this one, or see (see
'Mysql troubles')
This topic is locked and can not be replied to.