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
This commit is contained in:
parent
1c1aef0eb7
commit
96ba6ec1bf
@ -64,7 +64,7 @@ function initialize_database_backends {
|
|||||||
|
|
||||||
# For backward-compatibility, read in the MYSQL_HOST/USER variables and use
|
# For backward-compatibility, read in the MYSQL_HOST/USER variables and use
|
||||||
# them as the default values for the DATABASE_HOST/USER variables.
|
# 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}
|
MYSQL_USER=${MYSQL_USER:-root}
|
||||||
|
|
||||||
DATABASE_HOST=${DATABASE_HOST:-${MYSQL_HOST}}
|
DATABASE_HOST=${DATABASE_HOST:-${MYSQL_HOST}}
|
||||||
|
Loading…
Reference in New Issue
Block a user