railsbox icon indicating copy to clipboard operation
railsbox copied to clipboard

provision stuck on 'create and migrate DB' step when using Mysql

Open konclave opened this issue 9 years ago • 1 comments

When I'm trying to run it manually from VM, it shows me prompt: Access denied for user 'vagrant'@'localhost' (using password: YES). Please provide the root password for your mysql installation

konclave avatar Apr 23 '16 16:04 konclave

When mysql_db_password param in config.yml is empty, then password param in development section in database.yml is set to None. Seems like that's why connection to mysql is denied. If I manually set password for vagrant user in mysql and same password to config.yml, db creating and migration goes okay.

konclave avatar Apr 25 '16 08:04 konclave