MariaDB upgrade: specify host and port
While mysql_upgrade seems to work on CentOS images without specifying a host and port, it fails on Ubuntu without these. Change-Id: Ie140de57c4fe2f2e4db6a90c18e3535d9cc71ff2 Related-Bug: #1820325
This commit is contained in:
parent
e01cb5735d
commit
3c9c72bad0
|
@ -47,7 +47,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 --user=root --password="${DB_ROOT_PASSWORD}"
|
||||
mysql_upgrade --host=${DB_HOST} --port=${DB_PORT} --user=root --password="${DB_ROOT_PASSWORD}"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue