Subject: | Unable to use SSL with mysql_read_default_file |
Date: | Sun, 7 Jan 2018 21:09:15 +0000 |
To: | bug-DBD-mysql [...] rt.cpan.org |
From: | Andrew Beverley <andy [...] andybev.com> |
It seems that I am unable to specify SSL options in a mariadb defaults
file (specified with mysql_read_default_file). When the same SSL
options are specified as part of the DSN then they work correctly.
This is with MariaDB 10.1 on Debian Stretch using the current master
branch of DBD::mysql from Github (it also doesn't work with the
OS packaged version).
Using the same defaults file with the mysql client on the command line
works correctly.
The bug is surfacing when attempting to use pt-table-checksum from the
Percona Toolkit. The bug has been reported by others:
https://bugs.launchpad.net/percona-toolkit/+bug/1717986
I've spent a long time debugging, tracing code etc, but have failed to
find the cause. If you want to provide me with further tests then I am
happy to run them.