简体   繁体   中英

rake db:migrate rake aborted! Mysql2::Error: Access denied for user 'simple_cms'@'localhost' (using password: YES)

database.yml的

When I run rake db:migrate from my simple_cms/

I get this error.

rake db:migrate rake aborted! Mysql2::Error: Access denied for user 'simple_cms'@'localhost' (using password: YES)

Iv'e followed some of the steps outlined in previous questions. I cannot seem to figure it out.

Access denied for user 'simple_cms'@'localhost' (using password: YES)

1.) Check login credentials Username and password.
2.) Create another user account to simulate the error.
3.) Use another username and password if necessary.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM