Accepting request 1202654 from server:database

OBS-URL: https://build.opensuse.org/request/show/1202654
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mariadb?expand=0&rev=141
This commit is contained in:
Ana Guerrero 2024-09-24 15:31:24 +00:00 committed by Git OBS Bridge
commit adcfd4c111
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Sep 22 22:31:04 UTC 2024 - Georg Pfuetzenreuter <mail+rpm@georg-pfuetzenreuter.net>
- Read defaults during mysql_upgrade to respect client configuration
-------------------------------------------------------------------
Tue Aug 20 17:00:30 UTC 2024 - Antonio Teixeira <antonio.teixeira@suse.com>

View File

@ -116,7 +116,7 @@ mysql_upgrade() {
echo "Running upgrade itself..."
echo "It will do some chek first and report all errors and tries to correct them"
echo
if /usr/bin/mysql_upgrade --no-defaults --force --socket="$protected/mysql.sock"; then
if /usr/bin/mysql_upgrade --force --socket="$protected/mysql.sock"; then
echo "Everything upgraded successfully"
up_ok=""
rm -f "$mariadb_status_dir/.mariadb_run_upgrade"