Mysql distant connection with ssl |
Hello,
I am trying to connect to a distant mysql but it is not working. I have a "unable to connect to database". Connection is working with a simple page php script. Am I missing something? my config -> public $default = [ 'DSN' => '', 'hostname' => '192.168.1.10', 'username' => 'xxxx', 'password' => 'xxxxx', 'database' => 'xxxxxx', 'DBDriver' => 'MySQLi', 'DBPrefix' => '', 'pConnect' => false, 'DBDebug' => (ENVIRONMENT !== 'production'), 'charset' => 'utf8', 'DBCollat' => 'utf8_general_ci', 'swapPre' => '', 'encrypt' => array( 'ssl_key' => '', 'ssl_cert' => '', 'ssl_ca' => '', 'ssl_capath' => '', 'ssl_cipher' => '', 'ssl_verify' => true, ), 'compress' => false, 'strictOn' => false, 'failover' => [], 'port' => 3306, ]; |
Welcome Guest, Not a member yet? Register Sign In |