T

Unable to Connect to Managed MYSQL Digital Ocean via SSL

  • Thread starter Thread starter twaxter
  • Start date Start date

Visitor Greeting

Welcome to NullWarehouse.com... We are currently seeking Mod's and Contributors. If you wish to apply for a Mod position then please click on Members dropdown arrow, then click on Staff App and fill it out completely and submit it. If you want to be a Contributor then start contributing and we will have our eye on you and take notice, something great could come of it.

  • We have redone the forum. If you notice any issues or errors please open a Support Ticket under the Members dropdown and let us know.
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...
 
Similar content Most view View more
Back
Top Bottom