From a9945a6500351331426226efe80631f81cb832aa Mon Sep 17 00:00:00 2001 From: Lin Jen-Shin Date: Mon, 10 Apr 2017 18:41:35 +0800 Subject: [PATCH] Replace on host rather than socket, feedback: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/10156#note_26812377 --- scripts/prepare_build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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