Skip to content

Commit 3c7002c

Browse files
The client-side --ssl option is removed in MySQL 8.0. For client programs, use --ssl-mode instead.
1 parent 6e4dc49 commit 3c7002c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

automysqlbackup

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -458,10 +458,10 @@ parse_configuration () {
458458
opt_dbstatus=( '--status' )
459459

460460
[[ "${CONFIG_mysql_dump_usessl}" = "yes" ]] && {
461-
opt=( "${opt[@]}" '--ssl' )
462-
mysql_opt=( "${mysql_opt[@]}" '--ssl' )
463-
opt_fullschema=( "${opt_fullschema[@]}" '--ssl' )
464-
opt_dbstatus=( "${opt_dbstatus[@]}" '--ssl' )
461+
opt=( "${opt[@]}" '--ssl-mode' )
462+
mysql_opt=( "${mysql_opt[@]}" '--ssl-mode' )
463+
opt_fullschema=( "${opt_fullschema[@]}" '--ssl-mode' )
464+
opt_dbstatus=( "${opt_dbstatus[@]}" '--ssl-mode' )
465465
}
466466
[[ "${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}" );}
467467
[[ "${CONFIG_mysql_dump_single_transaction}" = "yes" ]] && {

0 commit comments

Comments
 (0)