don't recreate the mysql user. Assume they are configured correctly
This commit is contained in:
parent
e13932b2ca
commit
055a08be47
@ -35,3 +35,6 @@ chown turbo-hipster:turbo-hipster /var/log/turbo-hipster
|
||||
|
||||
mkdir -p /var/lib/turbo-hipster
|
||||
chown turbo-hipster:turbo-hipster /var/log/turbo-hipster
|
||||
|
||||
mysql -u root -e "create user 'nova'@'localhost' identified by 'tester';"
|
||||
mysql -u root -e "grant all privileges on nova.* TO 'nova'@'localhost';"
|
||||
|
@ -86,8 +86,6 @@ echo "Restoring test database $6"
|
||||
set -x
|
||||
mysql -u root -e "drop database $6"
|
||||
mysql -u root -e "create database $6"
|
||||
mysql -u root -e "create user '$4'@'localhost' identified by '$5';"
|
||||
mysql -u root -e "grant all privileges on $6.* TO '$4'@'localhost';"
|
||||
mysql -u $4 --password=$5 $6 < /$7
|
||||
set +x
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user