You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

如何在Navicat中连接Vercel PostgreSQL?遇端点ID未指定报错

问题详情

连接时出现如下报错:

ERROR: The endpoint ID is not specified. Either upgrade the Postgres client library (libpq) for SNI support or pass the endpoint ID (the first part of the domain name) as a parameter: '&options=endpoint%3D'.

解决方案

方法一:手动添加端点ID参数

  • 从你的Vercel PostgreSQL域名中提取端点ID:比如域名是ep-example-123456.us-east-1.aws.neon.tech,开头的ep-example-123456就是端点ID
  • 在Navicat的连接配置界面,找到「高级」标签页,在「额外参数」输入框中填入 options=endpoint%3D你的端点ID,示例:options=endpoint%3Dep-example-123456
  • 保存配置后重新发起连接

方法二:升级Navicat以支持SNI

  • 当前Navicat内置的PostgreSQL客户端库(libpq)版本过低,不支持SNI特性
  • 下载并安装最新版本的Navicat,新版本会更新内置的libpq库,无需额外配置即可正常连接

内容的提问来源于stack exchange,提问作者Quốc Tăng

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.22 03:02:32