Fixed small error with MYSQL_HOST

This commit is contained in:
Yavuz Aydın 2020-03-05 13:46:49 +01:00
parent e6f4a521f0
commit f9d1b0e9a9
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ fi
MYSQL_OPTS=""
if [[ -n ${MYSQL_HOST} && "${MYSQL_HOST}" != "" ]]; then
MYSQL_OPTS="${MYSQL_OPTS} -u ${MYSQL_HOST}"
MYSQL_OPTS="${MYSQL_OPTS} -h ${MYSQL_HOST}"
fi
if [[ -n ${MYSQL_USER} && "${MYSQL_USER}" != "" ]]; then