Update default DBS_SKIP
Updated databases that need to be skipped by default.
This commit is contained in:
parent
94ce812453
commit
94eaf90c4f
|
@ -110,7 +110,7 @@ if [[ -n ${MYSQL_PW} && "${MYSQL_PW}" != "" ]]; then
|
||||||
MYSQL_OPTS="${MYSQL_OPTS} -p${MYSQL_PW}"
|
MYSQL_OPTS="${MYSQL_OPTS} -p${MYSQL_PW}"
|
||||||
fi
|
fi
|
||||||
# Get list of Databases except the pid file
|
# Get list of Databases except the pid file
|
||||||
DBS_SKIP="'mysql','performance_schema','sys','information_schema'"
|
DBS_SKIP="'performance_schema','information_schema'"
|
||||||
DBS_LIST=$(mysql ${MYSQL_OPTS} -s -N -e "SELECT schema_name FROM information_schema.schemata WHERE schema_name NOT IN (${DBS_SKIP});")
|
DBS_LIST=$(mysql ${MYSQL_OPTS} -s -N -e "SELECT schema_name FROM information_schema.schemata WHERE schema_name NOT IN (${DBS_SKIP});")
|
||||||
|
|
||||||
index=0
|
index=0
|
||||||
|
|
Loading…
Reference in New Issue