How I can see a log of sql query running in the current time or in the past?
MySQL has built in logging capibilities...
http://www.mysql.com/doc/en/Query_log.html
I run mysql in windows so I started mysql by winmysqladmin.exe. Then how to do this though? Is there a way to change it in my.ini instead? Or is there any software that show you the sql statement at the current time.