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.