进阶 tableplus.com 2026-11-16 08:30:30 · 6 阅读

第47章 TablePlus 连接设置详解

Preferences General Connections 这些选项位于 Settings > General(⌘ + ,)中的 Connections 部分。1

Option 作用

Query time out TablePlus 等待服务器响应的秒数,超时后会询问是否重连。留空则使用默认值 300 秒。

Keep connection alive 每 30 秒向服务器发送一次 ping,防止空闲连接被关闭。默认开启。

Query time out TablePlus 不会主动终止执行缓慢的查询。超时后,TablePlus 会提示 The server is taking too long to respond(服务器响应时间过长)。此时可以点击 Reconnect 重新连接,或点击 Wait 继续等待。这个超时检查是配合 keep-alive ping 一起进行的,所以只有在 Keep connection alive 开启时才生效。该功能不适用于 SQLite、DuckDB、BigQuery、LibSQL、Cloudflare D1 和 Snowflake 连接。在 Query time out 字段中输入秒数,然后按 Return。 Keep connection alive 有些服务器、防火墙和 SSH 隧道会关闭闲置一段时间后的连接。开启 Keep connection alive 后,TablePlus 会每 30 秒 ping 一次服务器,保持连接不断开。

On Windows and Linux, use Ctrl + ,. ↩︎

评论 (0)