Leem
Leem

Reputation: 18298

Why my rake db:migrate throws error message?

I am developing Rails v2.3 application.

When I run "rake db:migrate" I got the following error message:

rake/rdoctask is deprecated.  Use rdoc/task instead (in RDoc 2.4.2+)
rake aborted!
Access denied for user 'root'@'localhost' (using password: NO)

Tasks: TOP => db:migrate
(See full trace by running task with --trace)

What is the reason?

Upvotes: 3

Views: 5887

Answers (1)

Jordan Running
Jordan Running

Reputation: 106027

It looks like your MySQL credentials are not set correctly in config/database.yml.

Upvotes: 7

Related Questions