The answer: use a modified web link sniffer to parse out the MySQL packets and decode them.

You’ll have to do a little compiling, but it’ll be worth it.

Note that this will not usually work for local connections, although you are welcome to try.

For me, it’s eth0.