Also, in SQL, I type "mysql -u root -p=password (as I configured the database.yml file) and it gives me the same error.
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES) On Nov 24, 2: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) > > (See full trace by running task with --trace) > > I ran it with trace and got the following message: > "** Invoke db:migrate (first_time) > ** Invoke environment (first_time) > ** Execute environment > ** Execute db:migrate > rake aborted!" > > (And many system files afterwards) > > Any ideas? > > On Nov 24, 11:13 am, "Hassan Schroeder" <[EMAIL PROTECTED]> > wrote: > > > On Mon, Nov 24, 2008 at 8:25 AM,Mr.Watson<[EMAIL PROTECTED]> wrote: > > > > I did that and it worked. But I type in the "rake db:migrate" command > > > and it tells me " Access denied for user '[EMAIL PROTECTED]' " > > > You need to configure config/database.yml with the appropriate > > access information (username, password, etc.) for your DB. > > > -- > > 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 -~----------~----~----~----~------~----~------~--~---

