Use the general query log.

http://dev.mysql.com/doc/mysql/en/query-log.html

Thanks,
Brian Stanton
Systems Administrator, Belo Interactive

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 05, 2005 2:11 PM
To: mysql@lists.mysql.com
Subject: something is pegging mysql


It has been a rough day today.  I am using mysql with coldfusion.  Something
somehwere on my site is causing mysql to take up 100% of the cpu.  This
causes coldfusion to lock.  Is there any sort of query log I can look at to
see what queries have run in, say, the last hour?  If I see what queries are
running I could track down the page and either fix a defective query or
change it so I am not getting killed.

--ja

-- 


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to