File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -458,10 +458,17 @@ parse_configuration () {
458458 opt_dbstatus=( ' --status' )
459459
460460 [[ " ${CONFIG_mysql_dump_usessl} " = " yes" ]] && {
461- opt=( " ${opt[@]} " ' --ssl-mode=PREFERRED' )
462- mysql_opt=( " ${mysql_opt[@]} " ' --ssl-mode=PREFERRED' )
463- opt_fullschema=( " ${opt_fullschema[@]} " ' --ssl-mode=PREFERRED' )
464- opt_dbstatus=( " ${opt_dbstatus[@]} " ' --ssl-mode=PREFERRED' )
461+ if [[ " ${CONFIG_mysql8} " = " yes" ]]; then
462+ opt=( " ${opt[@]} " ' --ssl-mode=PREFERRED' )
463+ mysql_opt=( " ${mysql_opt[@]} " ' --ssl-mode=PREFERRED' )
464+ opt_fullschema=( " ${opt_fullschema[@]} " ' --ssl-mode=PREFERRED' )
465+ opt_dbstatus=( " ${opt_dbstatus[@]} " ' --ssl-mode=PREFERRED' )
466+ else
467+ opt=( " ${opt[@]} " ' --ssl' )
468+ mysql_opt=( " ${mysql_opt[@]} " ' --ssl' )
469+ opt_fullschema=( " ${opt_fullschema[@]} " ' --ssl' )
470+ opt_dbstatus=( " ${opt_dbstatus[@]} " ' --ssl' )
471+ fi
465472 }
466473 [[ " ${CONFIG_mysql_dump_master_data} " ]] && (( ${CONFIG_mysql_dump_master_data} == 1 || ${CONFIG_mysql_dump_master_data} == 2 )) && { opt=( " ${opt[@]} " " --master-data=${CONFIG_mysql_dump_master_data} " ); }
467474 [[ " ${CONFIG_mysql_dump_single_transaction} " = " yes" ]] && {
Original file line number Diff line number Diff line change 1414
1515# Basic Settings
1616
17+ # mysql8 or newer? or not?
18+
19+ #CONFIG_mysql8='yes'
20+
1721# available as of MySQL 5.6.6 you can use stored encrypted authentication credentials
1822# see: http://dev.mysql.com/doc/refman/5.6/en/mysql-config-editor.html
1923
8185
8286# Advanced Settings
8387
88+
8489# Rotation Settings
8590
8691# Which day do you want monthly backups? (01 to 31)
You can’t perform that action at this time.
0 commit comments