mysql query tracing
# Turn on logging set global log_output=FILE; set global general_log=1; # Turn off logging set global general_log=0; The log file was writing it to mysql/data/{hostname}.log on my machine. I recently used this to discover why a Rails app was taking 15 seconds to load a page. I know this is also shown in the Rails [...]