XenForo Unable to Connect to Managed MYSQL Digital Ocean via SSL

T

twaxter

Guest
Hello, I've been trying to connect to my MySQL managed database over SSL that is un in digital ocean. This code is run in a droplet.

I am able to connect to mySQL using mysql client directly and inside of php using msqli ie. like this:

mysql -u XXXXX -h mysql-db.XXXXXXX.db.ondigitalocean.com -P 25060 -D defaultdb --ssl-ca=ca-certificate.crt

I get this in my root url:
An exception occurred: [XF\Db\Exception] Cannot connect to MySQL using SSL in src/XF/Db/Mysqli/Adapter.php on line...
Click to expand...

Read more

Continue reading...