Normal create user statement for haproxy_check
This commit is contained in:
@@ -9,7 +9,7 @@
|
|||||||
action: shell mysql -e "CREATE DATABASE wrestlingtourney;"
|
action: shell mysql -e "CREATE DATABASE wrestlingtourney;"
|
||||||
|
|
||||||
- name: Set up haproxy_check user
|
- name: Set up haproxy_check user
|
||||||
action: shell mysql -u root -p -e "INSERT INTO mysql.user (Host,User) values ('%','haproxy_check'); FLUSH PRIVILEGES;"
|
action: shell mysql -u root -p -e "CREATE USER 'haproxy_check'@'%'; FLUSH PRIVILEGES;"
|
||||||
|
|
||||||
- name: Set up user for wrestlingtourney
|
- name: Set up user for wrestlingtourney
|
||||||
action: shell mysql -u root -p -e "CREATE USER 'heroku_jcw'@'%' IDENTIFIED BY '($heroku_jcw_password)';GRANT ALL PRIVILEGES ON wrestlingtourney.* TO 'heroku_jcw'@'%'; FLUSH PRIVILEGES;"
|
action: shell mysql -u root -p -e "CREATE USER 'heroku_jcw'@'%' IDENTIFIED BY '($heroku_jcw_password)';GRANT ALL PRIVILEGES ON wrestlingtourney.* TO 'heroku_jcw'@'%'; FLUSH PRIVILEGES;"
|
||||||
|
|||||||
Reference in New Issue
Block a user