Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MySQL 5 logging

Status
Not open for further replies.

Sarky78

Programmer
Oct 19, 2000
878
GB
Hi

Does anyone know if out of the box mySql logs incorrect sql statements?

I say incorrect sql statements as i've made an error in a bit of code for a registration site, and need to get the sql statements that would have acted upon the database, correct them and action them against the db again.

Any ideas?

Tony
 
No, but every programming interface you use can check for errors. And should, off course. MySQL can log all queries or just the slow ones, but I do not know of a function to log just the incorrect ones.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top