ifsnop / mysqldump-php

PHP version of mysqldump cli that comes with MySQL
https://github.com/ifsnop/mysqldump-php
GNU General Public License v3.0
1.25k stars 300 forks source link

[TLS] no way to specify that connection should use TLS #269

Closed ortonomy closed 2 months ago

ifsnop commented 2 months ago

You can define certs in the dumpSettings array prior to calling start();

$options = array( PDO::MYSQL_ATTR_SSL_CA => '/path/to/cacert.pem', PDO::MYSQL_ATTR_SSL_VERIFY_SERVER_CERT => false, );