php-reports icon indicating copy to clipboard operation
php-reports copied to clipboard

ADO mysql_connect() Error

Open pricesm opened this issue 8 years ago • 1 comments

I'm getting the error "Uncaught Error: Call to undefined function mysql_connect()" when I try to run any ADO report (including the sample ADO report).

I know that it is calling the adodb-mysql.inc.php file in the drivers directory and that there is a adodb-mysqli.inc.php in there as well. Is there a way to point it to the mysqli instead of the mysql?

pricesm avatar Jan 19 '17 14:01 pricesm

I was having this issue also, and I changed the ado connection string to 'uri'=>'mysqli://{username}:{password}@localhost/{dbname}' and that fixed that issue. I am getting a new error, so I am still working on getting it configured.

bigz200 avatar Mar 02 '18 13:03 bigz200