used wrong DB variable
This commit is contained in:
parent
7e83e39db2
commit
0fd86eb5a3
1 changed files with 1 additions and 1 deletions
|
|
@ -561,7 +561,7 @@ while true; do
|
|||
esac
|
||||
done
|
||||
else
|
||||
mysql -e "CREATE USER ${DB}@localhost IDENTIFIED BY '${USERPW}';"
|
||||
mysql -e "CREATE USER ${USER}@localhost IDENTIFIED BY '${USERPW}';"
|
||||
mysql -e "GRANT ALL PRIVILEGES ON ${DB}.* TO '${USER}'@'localhost';"
|
||||
mysql -e "FLUSH PRIVILEGES;"
|
||||
echo
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue