mysql - is there a tool that can show a live log of all the sql commands the mysql engine receives? -


using mysql - there tool can show live log of sql commands mysql engine receives?

a. helpfull see explain plan dml commands.
b. helpfull if turned on , off on mysql server no need restart service.
c. open source/free mysql nice.
thanks.

you first need activate general query log. there must tools around parse log, favourite being :

tail -f /path/to/mysql.log 

;)

unfortunately, may not disabled dynamically, need restart server in order activate/disable log.

careful, though, activating log has severe performance impact. not use in production.


Comments

Popular posts from this blog

django - How can I change user group without delete record -

java - Need to add SOAP security token -

java - EclipseLink JPA Object is not a known entity type -