2016-09-20 31 views
1

Database.ymlrake db:migrate rake aborted! Mysql2 ::錯誤:拒絕訪問用戶 'simple_cms' @ 'localhost' 的(使用密碼:YES)

當我運行耙分貝:從我simple_cms遷移/

我得到這個錯誤。

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

Iv'e遵循了前面問題中列出的一些步驟。我似乎無法弄清楚。

+0

你必須創建具有密碼的用戶...然後將它設爲您的應用程序的所有者 – Milind

回答

0

拒絕訪問用戶simple_cms'@「localhost」的(使用密碼: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. 
相關問題