Skip to content

Commit

Permalink
MDEV-12275: Add switch '--silent' to SySV init upgrade
Browse files Browse the repository at this point in the history
Debian script debian-start upgrades database (which can be huge)
and prints lots of unnecessary information (not errors). Add
'--silent' to only sport possible errors
  • Loading branch information
illuusio authored and grooverdan committed May 5, 2022
1 parent 5319359 commit db47855
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion debian/additions/debian-start
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ fi

MYSQL="/usr/bin/mysql --defaults-file=/etc/mysql/debian.cnf"
MYADMIN="/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf"
MYUPGRADE="/usr/bin/mysql_upgrade --defaults-extra-file=/etc/mysql/debian.cnf --version-check"
MYUPGRADE="/usr/bin/mysql_upgrade --defaults-extra-file=/etc/mysql/debian.cnf --version-check --silent"
MYCHECK="/usr/bin/mysqlcheck --defaults-file=/etc/mysql/debian.cnf"
MYCHECK_SUBJECT="WARNING: mysqlcheck has found corrupt tables"
MYCHECK_PARAMS="--all-databases --fast --silent"
Expand Down

0 comments on commit db47855

Please sign in to comment.