diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2017-04-10 18:41:35 +0800 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2017-04-10 18:41:35 +0800 |
commit | a9945a6500351331426226efe80631f81cb832aa (patch) | |
tree | c3cc1f641a5ab550d08e55ab9546ec9c3f06a37f /scripts/prepare_build.sh | |
parent | 75ded1c73e5c1499947a3c951d9af54abfd2fd5c (diff) | |
download | gitlab-ce-a9945a6500351331426226efe80631f81cb832aa.tar.gz |
Replace on host rather than socket, feedback:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/10156#note_26812377
Diffstat (limited to 'scripts/prepare_build.sh')
-rwxr-xr-x | scripts/prepare_build.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/prepare_build.sh b/scripts/prepare_build.sh index f170743aea3..b8d8cc2851a 100755 --- a/scripts/prepare_build.sh +++ b/scripts/prepare_build.sh @@ -14,7 +14,7 @@ if [ -f /.dockerenv ] || [ -f ./dockerinit ]; then else # Assume it's mysql sed -i 's/username:.*/username: root/g' config/database.yml sed -i 's/password:.*/password:/g' config/database.yml - sed -i 's/# socket:.*/host: mysql/g' config/database.yml + sed -i 's/# host:.*/host: mysql/g' config/database.yml fi cp config/resque.yml.example config/resque.yml |