Skip to content

qiukeren/mysql-sniffer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MySQL Query Sniffer

This program uses libpcap to capture and analyze packets destined for a MySQL
server.  With a variety of command line options, you can tune the output to
show you a variety of outputs, such as:

    * top N queries since you started running the program
    * top N queries every X seconds (sliding window)
    * all queries (sanitized or not)

There are other options useful for tuning the output to your specifications.
Please see the application help and play with it.

To compile, you need the Go compiler (http://golang.org) as well as the gopcap
library (https://github.com/akrennmair/gopcap) compiled and installed where go
can find it.

Written by Mark Smith <[email protected]>.

Releases

No releases published

Packages

No packages published

Languages

  • Go 97.5%
  • Shell 2.5%