PHP MySQL Error Setting

Solution:1

You might want to check your php.ini and look at these values:

xdebug.auto_trace=1
xdebug.trace_format=1
mysql.trace_mode = On
pdo_mysql.debug = On

If they are there, disable them

Solution:2

First make sure your MySQL version numbers are the same!

If you are using mysqli try having the following:

mysqli_report(MYSQLI_REPORT_OFF);

If you want to turn it on with the Linux stack, try something like this:

mysqli_report(MYSQLI_REPORT_ERROR | MYSQLI_REPORT_STRICT);