Upgraded from 2.1.4 to 2.2.3; broke ADONewConnetion
Posted: Fri Sep 01, 2017 6:05 pm
Previously, we were setting up an additional connection to another database using an additional call via
Then calling this to log in to that database.
This worked fine until today when I updated to 2.2.3.1 on our dev environment.
When doing a print_r($dbExt), we get the credentials for the $db variable as defined in the CMSMS config.php file. The connection does not fail, but also appears to not even be attempting the connection. I tried switching to using a DSN today, as well, but it does the exact same and queries to that other database fail.
Code: Select all
$dbExt = ADONewConnection("mysqli");
Code: Select all
$dbExt->Connect('localhost','user','password','database');
When doing a print_r($dbExt), we get the credentials for the $db variable as defined in the CMSMS config.php file. The connection does not fail, but also appears to not even be attempting the connection. I tried switching to using a DSN today, as well, but it does the exact same and queries to that other database fail.