Closed RockfordWei closed 6 years ago
MySQL connection will go away when idle timeout. The ping() function can confirm the connectivity and also reconnect if need. https://dev.mysql.com/doc/refman/5.7/en/mysql-ping.html Thanks @JoeCharlier.
MySQL connection will go away when idle timeout. The ping() function can confirm the connectivity and also reconnect if need. https://dev.mysql.com/doc/refman/5.7/en/mysql-ping.html Thanks @JoeCharlier.