Database.yml file: # SQLite version 3.x # gem install sqlite3-ruby (not necessary on OS X Leopard) development: adapter: mysql database: depot_development username: root password: root 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: root host: localhost production: adapter: mysql database: depot_production username: root password: root host: localhost" I am typing in mysql -u root -p=root On Nov 24, 2:35 pm, "Hassan Schroeder" <[EMAIL PROTECTED]> wrote: > On Mon, Nov 24, 2008 at 12:20 PM, Mr. Watson <[EMAIL PROTECTED]> wrote: > > > Everything is working correct. I can log into MySQL. Ruby on Rails is > > up on running on the localhost. It created the database for me. But > > every time I use the rake db:migrate command it gives me the error. > > > "rake aborted! > > Access denied for user 'root'@'localhost' (using password: YES) > > That's saying that the password for root in database.yml is wrong; > are you saying that it's not? You can log in *using the exact same > information* as you've got in database.yml? > > -- > Hassan Schroeder ------------------------ [EMAIL PROTECTED] --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

