From 96ba6ec1bf0b7cc54f9968e4cc3aa80b8f2c368e Mon Sep 17 00:00:00 2001 From: Matt Riedemann Date: Wed, 2 Oct 2013 11:08:56 -0700 Subject: [PATCH] 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 --- lib/database | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/database b/lib/database index 442ed56fbe..3c1560964c 100644 --- a/lib/database +++ b/lib/database @@ -64,7 +64,7 @@ function initialize_database_backends { # For backward-compatibility, read in the MYSQL_HOST/USER variables and use # them as the default values for the DATABASE_HOST/USER variables. - MYSQL_HOST=${MYSQL_HOST:-localhost} + MYSQL_HOST=${MYSQL_HOST:-127.0.0.1} MYSQL_USER=${MYSQL_USER:-root} DATABASE_HOST=${DATABASE_HOST:-${MYSQL_HOST}}