I was wondering , if I setup SSL on Mysql or MariaDB , what should I to make OC works with it ?
I have oc2.3.0.2
I looked in
Code: Select all
system/library/db/mysqli.php
I found these 2 lines
Code: Select all
public function __construct($hostname, $username, $password, $database, $port = '3306') {
$this->connection = new \mysqli($hostname, $username, $password, $database, $port);
I googled around , only found one thread related to this , viewtopic.php?f=110&t=30040
but , obviously , it's like 6 years ago...
I did find lot about something about PHP to mysql over SSL in stackoverflow
but I can not merge it with OC's code.
so really appreciated if someone could help me out.