Mysql2::Error::ConnectionError: Access denied for user

Login to your mysql and add user (rails_user). Then grant the user privileges to the database you have created for your application beacuse it may happen that you already have the user(rails_user) but the use does not have privileges to the database of your application. then go to database.yml and put the require credentials for user which is (rails_user).

Leave a Comment