8 lines
169 B
Bash
8 lines
169 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
mysql --user=root --host=mysql <<EOF
|
||
|
CREATE USER IF NOT EXISTS 'gitlab'@'%';
|
||
|
GRANT ALL PRIVILEGES ON gitlabhq_test.* TO 'gitlab'@'%';
|
||
|
FLUSH PRIVILEGES;
|
||
|
EOF
|