mariadb: Add log for mariadb-upgrade
Change-Id: I7c01ba1127f3f0bbfddf373fa66cd2627e627415
This commit is contained in:
parent
1c3b7cec67
commit
1841cc852d
@ -52,7 +52,7 @@ if [[ "${!KOLLA_UPGRADE[@]}" ]]; then
|
||||
# There doesn't seem to be anything in the directory, so remove it.
|
||||
rm -rf /var/lib/mysql/.pki
|
||||
|
||||
mysql_upgrade --host=${DB_HOST} --port=${DB_PORT} --user=root --password="${DB_ROOT_PASSWORD}"
|
||||
mysql_upgrade --host=${DB_HOST} --port=${DB_PORT} --user=root --password="${DB_ROOT_PASSWORD}" 2>&1 | tee -a ${MARIADB_LOG_DIR}/mariadb-upgrade.log
|
||||
exit 0
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user