summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Hanselka <alex@gitlab.com>2018-11-07 22:21:09 +0000
committerRobert Speicher <rspeicher@gmail.com>2019-01-08 11:47:30 -0600
commit64fbfe7900100c33d124c78fb36f035b8a66ccba (patch)
tree475ca884d5e1ff4ecfd06ac0893b4a40ed4147f3
parent69cda99b605475da6d8f56a55a37c52f644e48d8 (diff)
downloadgitlab-ce-64fbfe7900100c33d124c78fb36f035b8a66ccba.tar.gz
Update create_mysql_user.sh
-rw-r--r--scripts/create_mysql_user.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/create_mysql_user.sh b/scripts/create_mysql_user.sh
index 35f68c581f3..05de12f1a42 100644
--- a/scripts/create_mysql_user.sh
+++ b/scripts/create_mysql_user.sh
@@ -1,6 +1,6 @@
#!/bin/bash
-mysql --user=root --host=mysql <<EOF
+mysql --user=root --host=localhost <<EOF
CREATE USER IF NOT EXISTS 'gitlab'@'%';
GRANT ALL PRIVILEGES ON gitlabhq_test.* TO 'gitlab'@'%';
FLUSH PRIVILEGES;