Cmd or graphical software remotely connects the mysql database and automatically disconnects when it is idle for five minutes.

I use the local cmd or Navicat to remotely connect to the server"s mysql database. There is no problem when connecting, so I can connect. But if I do not operate for more than five minutes (idle time is about five minutes), the Navicat card will not get the result for about 30 seconds during the operation. It is suspected that it has been disconnected and reconnected. And cmd will report an error ERROR 2013 (HY000): Lost connection to MySQL server during query

).

clipboard.png

Mar.02,2021
Menu