2016-09-20 14 views
1

Database.ymlrake db:migrate rake aborted! Mysql2 ::エラー:アクセスが(パスワードを使用して:YES)、 'localhost' の@ 'simple_cms' ユーザのために拒否された

私はすくいデシベルを実行すると:/私の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」ユーザのために拒否された(パスワード使用:YES)、「localhost」のパスワードを持つユーザーを作成して...そして、あなたのアプリの所有者として、それを割り当てる必要があり

1.) Check login credentials Username and password. 
2.) Create another user account to simulate the error. 
3.) Use another username and password if necessary. 
関連する問題