File tree Expand file tree Collapse file tree 2 files changed +9
-6
lines changed
Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -553,28 +553,28 @@ dbstatus() {
553553 if (( $CONFIG_dryrun )) ; then
554554 case " ${CONFIG_mysql_dump_compression} " in
555555 ' gzip' )
556- echo " dry-running: mysqlshow ${authentication} ${opt_dbstatus[@]} | gzip_compression > ${1}${suffix} " ;
556+ echo " dry-running: ${CONFIG_mysql_show} ${authentication} ${opt_dbstatus[@]} | gzip_compression > ${1}${suffix} " ;
557557 ;;
558558 ' bzip2' )
559- echo " dry-running: mysqlshow ${authentication} ${opt_dbstatus[@]} | bzip2_compression > ${1}${suffix} " ;
559+ echo " dry-running: ${CONFIG_mysql_show} ${authentication} ${opt_dbstatus[@]} | bzip2_compression > ${1}${suffix} " ;
560560 ;;
561561 * )
562- echo " dry-running: mysqlshow ${authentication} ${opt_dbstatus[@]} > ${1}${suffix} " ;
562+ echo " dry-running: ${CONFIG_mysql_show} ${authentication} ${opt_dbstatus[@]} > ${1}${suffix} " ;
563563 ;;
564564 esac
565565 return 0;
566566 else
567567 case " ${CONFIG_mysql_dump_compression} " in
568568 ' gzip' )
569- mysqlshow ${authentication} " ${opt_dbstatus[@]} " | gzip_compression > " ${1}${suffix} " ;
569+ ${CONFIG_mysql_show} ${authentication} " ${opt_dbstatus[@]} " | gzip_compression > " ${1}${suffix} " ;
570570 return $?
571571 ;;
572572 ' bzip2' )
573- mysqlshow ${authentication} " ${opt_dbstatus[@]} " | bzip2_compression > " ${1}${suffix} " ;
573+ ${CONFIG_mysql_show} ${authentication} " ${opt_dbstatus[@]} " | bzip2_compression > " ${1}${suffix} " ;
574574 return $?
575575 ;;
576576 * )
577- mysqlshow ${authentication} " ${opt_dbstatus[@]} " > " ${1}${suffix} " ;
577+ ${CONFIG_mysql_show} ${authentication} " ${opt_dbstatus[@]} " > " ${1}${suffix} " ;
578578 return $?
579579 ;;
580580 esac
Original file line number Diff line number Diff line change 2121#CONFIG_mysql_dump='/usr/bin/mysqldump'
2222#CONFIG_mysql_dump='/usr/bin/mariadb-dump'
2323
24+ #CONFIG_mysql_show='/usr/bin/mysqlshow'
25+ #CONFIG_mysql_show='/usr/bin/mariadb-show'
26+
2427# mysql8 or newer? or not?
2528#CONFIG_mysql8='yes'
2629
You can’t perform that action at this time.
0 commit comments