Thank you! I really appreciate your knowledge and want to share. In the docker image I am unable to connect to a mysql database. (I can with the same files and settings on the host) ...
---------------------------------
Gracias! Aprecio mucho tu conocimiento y ganas de compartir. En la imagen de docker no logro conectarme a una base de datos mysql. (puedo con los mismos archivos y configuracion en el host)...
---------------------------------
SYSTEMPATH/Database/MySQLi/Connection.php at line 110
103 {
104 $hostname = ($persistent === true) ? 'p:' . $this->hostname : $this->hostname;
105 $port = empty($this->port) ? null : $this->port;
106 $socket = null;
107 }
108
109 $client_flags = ($this->compress === true) ? MYSQLI_CLIENT_COMPRESS : 0;
110 $this->mysqli = mysqli_init();
111
112 mysqli_report(MYSQLI_REPORT_ALL & ~MYSQLI_REPORT_INDEX);
113
114 $this->mysqli->options(MYSQLI_OPT_CONNECT_TIMEOUT, 10);
115
116 if (isset($this->strictOn))
117 {