starphp Posted May 11, 2009 Share Posted May 11, 2009 Hello, I have searched in this forum but couldn't find any topics related to my question.. so I wish to post here. Like php error handling, Is there any technique to log MySql errors, the errors returned during the execution of mysql query ? I wish to log errors and redirect to another page, so user doesn't see any mysql errors. I found that, it can be achieved by adding die() at the end of each msql query but it is time consuming.. Thank You Team Link to comment https://forums.phpfreaks.com/topic/157689-mysql-error-handling/ Share on other sites More sharing options...
Ken2k7 Posted May 11, 2009 Share Posted May 11, 2009 There is the MySQL Error Log. Link to comment https://forums.phpfreaks.com/topic/157689-mysql-error-handling/#findComment-831584 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.