Created
December 17, 2013 03:51
-
-
Save sakama/7999809 to your computer and use it in GitHub Desktop.
MySQLの通信をtcpdumpでキャプチャする
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ■SELECT文 | |
| tcpdump -l -i eth1 -A -n -s 0 dst port 3306 | grep SELECT | |
| ■UPDATE文 | |
| tcpdump -l -i eth1 -A -n -s 0 dst port 3306 | grep UPDATE | |
| ■INSERT文 | |
| tcpdump -l -i eth1 -A -n -s 0 dst port 3306 | grep INSERT |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment