Keep TCP Sockets alive using MySqlConnection

Connection string

This MySQL Connector/Net connection string can be used for connections to MySQL.

Server=myServerAddress;Database=myDataBase;Uid=myUsername;Pwd=myPassword;
Keepalive
=10;

Number of seconds between each keep-alive package send.