I am using mySQL and Rails 3.2 and I run into this problem: The error code is: "rake aborted! Access denied for user 'root'@'localhost' (using password: NO)"
I am particularly sure that my database.yml is configured correctly, as follow:
development:
adapter: mysql2
encoding: utf8
database: simple_cms_development
pool: 5
username: simple_cms
password: my_actual_password
socket: /tmp/mysql.sock
I am very confused as the error said access denied for user 'root'@'localhost'. Now I cannot run any command like rake, rake db:migrate.
I've gone through other similar questions on Stackoverflow like (Why my rake db:migrate throws error message?) but the answer does not solve my problem.