Closed sido420 closed 6 years ago
I'm getting the following on web page, however the $db object appears to be a valid connection object (did var_dump on it):
Could not connect :
127.0.0.1: MySQL server has gone away
object(ADODB_mysqli)#1 (91) { ["databaseType"]=> string(6) "mysqli" ["dataProvider"]=> string(5) "mysql" ["hasInsertID"]=> bool(true) ["hasAffectedRows"]=> bool(true) ...
Turns out MySQL 8 was the culprit with many new changes needed for connection.
I'm trying to upgrade an existing web app from PHP 5.x to 7.2.10 and ADOdb-5.20.12.
I'm getting the following error message:
mysqli is enabled in config and I've double checked using phpinfo().
Also, getting similar error on
Here is the code that connects to MySQL: