a-chernykh / railsbox

Fast and easy Ruby on Rails virtual machines
https://railsbox.io
MIT License
320 stars 52 forks source link

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

Open konclave opened 8 years ago

konclave commented 8 years ago

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 commented 8 years ago

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.