dbbench is a tool I've been working on for a while at MemSQL. It is an open source database workload driver engineers at MemSQL and I use for performance testing. One often-overlooked feature in dbbench is the ability to replay query log files. Previously, this was a somewhat manual process; however, I recently figured out how to generate a dbbench compatible query log file from a tcpdump packet capture.

Make sure to filter for only packets to this host and only packets tomemsql: