How to get the network packets between MySQL client and server?

  Sometimes when we get ERROR messages such as the communication failure, MySQL server not responds your requests, or we want to know what the client sent to MySQL and how MySQL responds? Then we can capture network packets of the client and MySQL server.   Preparing: Capturer tool: tcpdump command on Linux Packets Analyzer: … Continue reading How to get the network packets between MySQL client and server?