jdorn / php-reports

A PHP framework for displaying reports from any data source, including SQL and MongoDB
http://jdorn.github.com/php-reports
GNU Lesser General Public License v3.0
477 stars 235 forks source link

ADO mysql_connect() Error #248

Open pricesm opened 7 years ago

pricesm commented 7 years ago

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?

bigz200 commented 6 years ago

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.