Unix Technical Forum

MySQL 5, stored procedure, mysql-slow.log

This is a discussion on MySQL 5, stored procedure, mysql-slow.log within the MySQL General forum forums, part of the MySQL category; --> Hi, Is there any configuration to be setup to get each query of a stored procedure, called by a ...


Go Back   Unix Technical Forum > Database Server Software > MySQL > MySQL General forum

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-28-2008, 06:33 AM
Daniel Caune
 
Posts: n/a
Default MySQL 5, stored procedure, mysql-slow.log

Hi,



Is there any configuration to be setup to get each query of a stored
procedure, called by a client, in the mysql-slow.log or mysql.log? For
the moment, I just have the stored procedure call in the log file, but I
need to trace every SQL statement of this stored procedure.



# Time: 070605 21:59:01

# User@Host: dbo[dbo] @ localhost []

# Query_time: 0 Lock_time: 0 Rows_sent: 0 Rows_examined: 1

CALL generate_random_battles();



Thanks,






Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 06:27 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com