How can I trace MySQL queries on my Linux server as they happen?
For example I'd love to set up some sort of listener, then request a web page and view all of the queries the engine executed, or just view all of the queries being run on a production server. How can I do this?
转载于:https://stackoverflow.com/questions/568564/how-can-i-view-live-mysql-queries