[RSS Feed/News] Implementing MySQLi SSL

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
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

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom