> 前段時(shí)間使用navicat連接線上的數(shù)據(jù)庫(kù),Navicat 閑置時(shí)間過(guò)長(zhǎng)會(huì)卡死。解決方案:選中數(shù)據(jù)庫(kù),右鍵點(diǎn)擊 `編輯連接`,修改保持連接間隔為 `20秒`。非常 so easy ! #### 1. 選中數(shù)據(jù)庫(kù),右鍵點(diǎn)擊 `編輯連接` --- ![](https://img.itqaq.com/art/content/7f79bb00d28896bf0b6bde5d8fd75abe.png) #### 2. 修改保持連接間隔為 `20秒`,這就完事了 --- ![](https://img.itqaq.com/art/content/39cff908ab33a6000ca6615092b9926d.png)