Skip to content

Commit efa9a67

Browse files
authored
Merge pull request #209 from ToshY/bug/208-mysql-extra-opts-status-check
Removed EXTRA_OPTS in MySQL status check
2 parents 1659e34 + 68747a4 commit efa9a67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install/assets/functions/10-db-backup

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ check_availability() {
421421
"mysql" )
422422
counter=0
423423
export MYSQL_PWD=${DB_PASS}
424-
while ! (mysqladmin -u"${DB_USER}" -P"${DB_PORT}" -h"${DB_HOST}" ${mysql_tls_args} ${EXTRA_OPTS} status > /dev/null 2>&1) ; do
424+
while ! (mysqladmin -u"${DB_USER}" -P"${DB_PORT}" -h"${DB_HOST}" ${mysql_tls_args} status > /dev/null 2>&1) ; do
425425
sleep 5
426426
(( counter+=5 ))
427427
print_warn "MySQL/MariaDB Server '${DB_HOST}' is not accessible, retrying.. (${counter} seconds so far)"

0 commit comments

Comments
 (0)