Skip to content

Commit 33facb7

Browse files
author
Rob Frawley 2nd
committed
suppress error from mysql_config_editor
1 parent 3d6bf3c commit 33facb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mysql/mysql-defragment.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ out_welcome
5050
## Check for require bins
5151
check_bins_and_setup_abs_path_vars mysql grep mysql_config_editor
5252

53-
${bin_mysql_config_editor} set --skip-warn --login-path=local --host=localhost --user=${db_user} --password=${db_pass}
53+
${bin_mysql_config_editor} set --skip-warn --login-path=local --host=localhost --user=${db_user} --password=${db_pass} > /dev/null > 2>&1
5454

5555
${bin_mysql} --login-path=local -NBe "SHOW DATABASES;" | ${bin_grep} -v 'lost+found' | while read database ; do
5656
${bin_mysql} --login-path=local -NBe "SHOW TABLE STATUS;" $database | while read name engine version rowformat rows avgrowlength datalength maxdatalength indexlength datafree autoincrement createtime updatetime checktime collation checksum createoptions comment ; do

0 commit comments

Comments
 (0)