Attempt to fix what is suspected to be a DNS resolution issue with
postgresql check job.
Closes-Bug: #1232748
Change-Id: Ic82e54b2af038e6c21d4f026f3da10f34c3c185c
... | ... |
@@ -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}} |