首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何配置pgmodeler?

如何配置pgmodeler?
EN

Database Administration用户
提问于 2014-07-12 12:22:56
回答 1查看 2.3K关注 0票数 3

我在配置pgmodeler时遇到了一些问题,特别是连接。

我把

连接DB: postgres主机/端口本地主机5432用户postgres Passwort

Could not connect to the database. Message returned: could not connect to server: No route to host Is the server running on host "5432" (0.0.21.56) and accepting TCP/IP connections on port 5432?

我认为我的想法有问题。但是,在登录后,我只是在pgadmin的第一页上查找所需的信息。有人能解释一下如何从pgmodeler连接到postgres吗?

EN

回答 1

Database Administration用户

回答已采纳

发布于 2018-02-23 18:09:11

我遇到了这个问题,解决了在这行中更改pg_hba.conf的问题。

代码语言:javascript
复制
local    all            postgres        password
# IPv4 local connections:
host    all             all             127.0.0.1/32            password
# IPv6 local connections:
host    all             all             ::1/128                 password

将ident改为密码。对我起作用了!

票数 1
EN
页面原文内容由Database Administration提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://dba.stackexchange.com/questions/71334

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档