lib/ec2onrails/recipes/db.rb in pauldowman-ec2onrails-0.9.10.0 vs lib/ec2onrails/recipes/db.rb in pauldowman-ec2onrails-0.9.10.1

- old
+ new

@@ -50,10 +50,11 @@ DESC task :create, :roles => :db do on_rollback { drop } load_config start - sleep(15) # make sure the db has some time to start up! + puts " * Pausing to give MySQL some time to start up..." + sleep 20 run %{mysql -u root -e "drop database if exists test; flush privileges;"} # removing anonymous mysql accounts run %{mysql -u root -D mysql -e "delete from db where User = ''; flush privileges;"} run %{mysql -u root -D mysql -e "delete from user where User = ''; flush privileges;"}