Skip to content

Commit faaa4f5

Browse files
committed
[BUGFIX] Ignore SSL for mysqldump
Resolves: #43
1 parent 860cbe2 commit faaa4f5

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/Utility/DatabaseUtility.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@ public static function getTemporaryMyCnfFile(
9292
$content .= "port=\"" . ((isset($dbConfig['port']) && $dbConfig['port']) ? $dbConfig['port'] : 3306) . "\"\n";
9393
$content .= "user=\"{$dbConfig['user']}\"\n";
9494
$content .= "password=\"{$dbConfig['password']}\"\n";
95+
$content .= "[client-mariadb]\n";
96+
$content .= "disable-ssl-verify-server-cert\n";
9597
file_put_contents($tmpMyCnfFile, $content);
9698

9799
return $tmpMyCnfFile;

0 commit comments

Comments
 (0)