Ques/Help Implementing MySQLi SSL

M

MattW

Guest
I'm trying to get this working with the new Linode Beta MySQL managed databases.

I can connect via command line using the provided crt file:

mysql -h x.x.x.x -u xxxxxx -p --ssl-ca=mwsdb-ca-certificate.crt

When I try setting XF to use these, I can a DB error, but nothing logged. Would debug show any additional information?

PHP:

Code:
$config['db']['ssl']['enabled'] = true;
$config['db']['ssl']['cert'] = '/full/path/to/mwsdb-ca-certificate.crt';

Tried it with...

Read more

Continue reading...