Flush privileges after editing passwords

This commit is contained in:
2016-02-03 08:51:40 -05:00
parent 89937d1321
commit ccaf8489ae

View File

@@ -15,6 +15,6 @@
action: shell mysql -e "CREATE USER 'heroku_jcw'@'%' IDENTIFIED BY '$heroku_jcw_password';GRANT ALL PRIVILEGES ON wrestlingtourney.* TO 'heroku_jcw'@'%'; FLUSH PRIVILEGES;"
- name: set mysql root password
action: shell mysql -e "UPDATE mysql.user SET password=PASSWORD('$root_mysql_password') where user='root';"
action: shell mysql -e "UPDATE mysql.user SET password=PASSWORD('$root_mysql_password') where user='root'; FLUSH PRIVILEGES;"