Wireshark can log network traffic to a file, but it will not be tied to a specific Windows Service. Though you can filter so that it will record only traffic involved in a specific conversation. So, you could filter for traffic between the server and the MySql server as well as the specific port that conversation is happening on.
Wireshark is available for Windows, Linux and macOS. It is free in all senses of the word.
You can get Wireshark here: http://wireshark.org/