Rake Migrate e MySql: access denied?

What´s probably happening is that MySql is denying access to Rails ... but i can´t figure out how to fix it. Any ideas?

if you're database.yml has something like:   username: root   password: i.e. no password

Try connecting to mysql: mysql -u root

If you can't connect, you'll need to set up a user 'root' without a password. Something like from within mysql: GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost' WITH GRANT OPTION;

MySQL docs: http://dev.mysql.com/doc/refman/5.0/en/adding-users.html