Replies: 2 comments
-
我这也有这个问题。配置写rds的ip,报错是我本地的ip,求解 |
Beta Was this translation helpful? Give feedback.
0 replies
-
你好,麻烦问下后来怎么解决的? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
我用 cdc 2.0.0 访问 postgresql 9.6,pg 安装在VMWare 虚拟机里。
我试过用 cdc 访问虚拟机的 mysql 8.0,结果是没问题的,可以查询出数据。但是 pg 不行,报错
我按网上说的修改 pg_hba.conf 和 postgresql.conf,但还是报上面的错(我是通过 systemctl restart postgresql-9.6.service 重启服务的,因为我找不到 pg_ctl)
奇怪的是我用数据库工具可以访问 pg 并建表和查询,但是代码就不行,下面是我的代码:
还有一个奇怪的地方是 ip '192.168.42.130' 是我虚拟机的 ip,ip '192.168.42.1' 是 VMware Network Adapter VMnet8 的 ip,我不明白为什么报错的是这个地址,但无论是 ip 转发还是啥,修改 pg_hba.conf 之后应该是任何 ip 都可以访问的吧?
恳请大佬指教!!!
Beta Was this translation helpful? Give feedback.
All reactions