Skip to content

Commit 79540f9

Browse files
authored
fix: sql syntax in dbcreate script (#903)
Signed-off-by: Romain Aviolat <r.aviolat@gmail.com>
1 parent 51cc0f8 commit 79540f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/createdb.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ mysql <<MYSQL_SCRIPT
2727
DROP DATABASE IF EXISTS $DB;
2828
CREATE DATABASE $DB;
2929
CREATE USER IF NOT EXISTS '$USER'@'localhost' IDENTIFIED BY '$PASS';
30-
GRANT ALL PRIVILEGES ON $USER.* TO '$DB'@'localhost';
30+
GRANT ALL PRIVILEGES ON $DB.* TO '$USER'@'localhost';
3131
FLUSH PRIVILEGES;
3232
MYSQL_SCRIPT
3333

0 commit comments

Comments
 (0)