• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 252
  • Last Modified:

How to get the traffic details from a MYSQL database from nodeA to nodeB with snoop

I want to know how to get the traffic with Snoop on a Solaris machine, from nodeA to nodeB and get
what type of querys sends to the port 3306, i think it could be possible, maybe i can get another tool more usefull to get correct mysql selects.
Thanks

Another quesion, please how to upgrade log to debug mode of mysql server? Thanks
0
sysadminz
Asked:
sysadminz
1 Solution
 
UmeshMySQL Principle Technical Support EngineerCommented:
I have no idea about snoop... but I can suggest you some other alternatives which may be quite handy to monitor client and if you want to know exactly what the client sent to MySQL server.

1. Enable a general query log & write a Perl/Shell script to generate the report as you wanted from the general query log.

http://dev.mysql.com/doc/refman/5.0/en/query-log.html

2.  Use Googles patches to catch the stats

http://www.mysqlperformanceblog.com/2008/09/12/googles-user_statistics-v2-port-and-changes/
0

Featured Post

Who's Defending Your Organization from Threats?

Protecting against advanced threats requires an IT dream team – a well-oiled machine of people and solutions working together to defend your organization. Download our resource kit today to learn more about the tools you need to build you IT Dream Team!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now