We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 51cc0f8 commit 79540f9Copy full SHA for 79540f9
scripts/createdb.sh
@@ -27,7 +27,7 @@ mysql <<MYSQL_SCRIPT
27
DROP DATABASE IF EXISTS $DB;
28
CREATE DATABASE $DB;
29
CREATE USER IF NOT EXISTS '$USER'@'localhost' IDENTIFIED BY '$PASS';
30
-GRANT ALL PRIVILEGES ON $USER.* TO '$DB'@'localhost';
+GRANT ALL PRIVILEGES ON $DB.* TO '$USER'@'localhost';
31
FLUSH PRIVILEGES;
32
MYSQL_SCRIPT
33
0 commit comments