Home > database > DBeaver client connection timeout
DBeaver client connection timeout
Time:09-18
Use DBeaver link to the mysql database, after a period of time, will connection timeout, DBeaver will feign death, How can I set up the connection timeout, or how do you solve this feign death?
CodePudding user response:
If no operation for a long time, idle time is too long?
CodePudding user response:
The original poster hello, In Mysql default Settings, if a database connection more than 8 hours didn't use (idle 8 hours, the 28800 s), Mysql server will take the initiative to disconnect the connection, the subsequent query operation will fail in that connection, Will appear: error 2006 (MySQL server has gone away)! ,
Look at the mysql server timeout:
Msyql> Show global variables like '% % timeout';
Set the mysql server timeout (in seconds) :
Msyql> The set global wait_timeout=10; Msyql> The set global interactive_timeout=10;