Skip to content

Commit 33a11a3

Browse files
committed
Merge branch 'develop' for v3.5.2
2 parents c6fc3b1 + e68fdb7 commit 33a11a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/helper/Site_Backup_Restore.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ private function backup_db( $backup_dir ) {
376376

377377
$this->fs->mkdir( $backup_dir . '/sql' );
378378

379-
$backup_command = sprintf( 'mysqldump -u %s -p%s -h %s --single-transaction %s > /var/www/htdocs/%s', $db_user, $db_password, $db_host, $db_name, $sql_filename );
379+
$backup_command = sprintf( 'mysqldump --skip-ssl -u %s -p%s -h %s --single-transaction %s > /var/www/htdocs/%s', $db_user, $db_password, $db_host, $db_name, $sql_filename );
380380
$args = [ 'shell', $this->site_data['site_url'] ];
381381
$assoc_args = [ 'command' => $backup_command ];
382382
$options = [ 'skip-tty' => true ];

0 commit comments

Comments
 (0)