summaryrefslogtreecommitdiff
path: root/tools/docker/entrypoint.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/docker/entrypoint.sh')
-rwxr-xr-xtools/docker/entrypoint.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/docker/entrypoint.sh b/tools/docker/entrypoint.sh
index 6314f1b..8f7ea4f 100755
--- a/tools/docker/entrypoint.sh
+++ b/tools/docker/entrypoint.sh
@@ -26,7 +26,7 @@ reset_data_mysql() {
DROP DATABASE IF EXISTS patchwork;
CREATE DATABASE patchwork CHARACTER SET utf8;
GRANT ALL ON patchwork.* TO 'patchwork' IDENTIFIED BY 'password';
-GRANT ALL PRIVILEGES ON test_patchwork.* TO 'patchwork'@'%';
+GRANT ALL ON 'test_patchwork\_%'.* to 'patchwork'@'%';
FLUSH PRIVILEGES;
EOF
}