Navicat connects to the database and automatically disconnects the solution(Recommended tutorial: navicat tutorial)
This is because the database The server sets how long the connection will be without activity before automatically disconnecting it to avoid too many connections.
Solution:
Open the connection properties, select Advanced, and set Keepalive Interval(240) -- automatically send heartbeat data every 4 minutes, so that The connection can always be maintained.
The above is the detailed content of Will navicat automatically disconnect?. For more information, please follow other related articles on the PHP Chinese website!