Resolved: How to enable MySQL errors

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
Paul Arnold
Forum Contributor
Posts: 141
Joined: Fri Jun 13, 2008 10:09 am
Location: Newcastle Upon Tyne

Resolved: How to enable MySQL errors

Post by Paul Arnold »

I think our server guys have disabled Mysql error reporting on our server.

I've got Error reporting set to E_ALL and I'm trying to echo mysql error messages in a failed query.

Why would the errors not be displaying?
Last edited by Paul Arnold on Fri Mar 20, 2009 6:13 am, edited 1 time in total.
Paul Arnold
Forum Contributor
Posts: 141
Joined: Fri Jun 13, 2008 10:09 am
Location: Newcastle Upon Tyne

Re: How to enable MySQL errors

Post by Paul Arnold »

Resolved: I needed to set mysql.trace_mode to On
Post Reply