Can't connect to MySQL (Azure) using SSL encrypt connection |
Well, i do a connection successfully, in the same server, when using mysqli_real_connect as we can see below:
PHP Code: $host = 'myhost.mysql.database.azure.com'; But on CodeIgniter 4, gives me an Unable to connect to the database exception with this similar settings: PHP Code: public $default = [ What can i do? Alredy did: - ssl_verify to true - ssl_ca pointing to a ca_cert, as shown in: https://docs.microsoft.com/en-us/azure/m...onnect-php
Solved.
i've changed by myself the file /system/Database/MySQLi/Connection.php From: ![]() To: ![]() Since if the "encrypt" array is set, this variable should be setted to use in mysql_real_connect. Should i report on GitHub?
|
Welcome Guest, Not a member yet? Register Sign In |