RSS Feed/News Unable to Connect to Managed MYSQL Digital Ocean via SSL

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
25,998
Points
823

Reputation:

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...
 
Status
Not open for further replies.
Top