Bug #59639 provide option to log stored procedure SQL in general log
Submitted: 20 Jan 2011 17:51
Reporter: Kyle Joiner Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: Stored Routines Severity:S4 (Feature request)
Version:5.5 OS:Any
Assigned to: CPU Architecture:Any
Tags: general log, stored procedure

[20 Jan 2011 17:51] Kyle Joiner
Description:
Request a global varaible that could enable the logging of the internal SQL statements being performed in a stored procedure.  

How to repeat:
Feature request

Suggested fix:
Request a global varaible that could enable the logging of the internal SQL statements being performed in a stored procedure.
[24 Apr 2012 12:50] Michael Hase
+1 for this feature request, would be great to debug stored procedures
[17 May 2013 9:35] wei liu
+1 for this feature request, or is there any other method to record the SQL history executed in procedure?