Browse code

Change DATABASE_HOST default to 127.0.0.1

Attempt to fix what is suspected to be a DNS resolution issue with
postgresql check job.

Closes-Bug: #1232748

Change-Id: Ic82e54b2af038e6c21d4f026f3da10f34c3c185c

Matt Riedemann authored on 2013/10/03 03:08:56
Showing 1 changed files
... ...
@@ -64,7 +64,7 @@ function initialize_database_backends {
64 64
 
65 65
     # For backward-compatibility, read in the MYSQL_HOST/USER variables and use
66 66
     # them as the default values for the DATABASE_HOST/USER variables.
67
-    MYSQL_HOST=${MYSQL_HOST:-localhost}
67
+    MYSQL_HOST=${MYSQL_HOST:-127.0.0.1}
68 68
     MYSQL_USER=${MYSQL_USER:-root}
69 69
 
70 70
     DATABASE_HOST=${DATABASE_HOST:-${MYSQL_HOST}}