We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 994f24a commit f7c2e2aCopy full SHA for f7c2e2a
backup.sh
@@ -67,10 +67,10 @@ else
67
IFS=$oldIFS
68
fi
69
70
-MYSQL_CONN="-h${MYSQL_HOST} -u${MYSQL_USER} --port ${MYSQL_PORT}"
+MYSQL_CONN="-h${MYSQL_HOST} -u${MYSQL_USER} --port ${MYSQL_PORT:-3306}"
71
72
if [ ! -z "${MYSQL_PASS}" ]; then
73
- MYSQL_CONN="${MYSQL_CONN} -p${MYSQL_PASS} --port ${MYSQL_PORT}"
+ MYSQL_CONN="${MYSQL_CONN} -p${MYSQL_PASS} --port ${MYSQL_PORT:-3306}"
74
75
76
if [ -z "${EXPERT_ARGS}" ]; then
0 commit comments