开发者社区 问答 正文

postgresql的用法?报错

在postgresql shell显示server [localhost]:     然后是database [postgres]:  再然后 port 5432: 最后username [postgres]: 报错无法解析主机名到未知主机不知道该怎么填

pgadmin iii上的服务器打叉。点了以后输密码,之后是server don't listern。也不知道服务器该怎没建。不知道该怎么弄?希望高手能指点一下。

展开
收起
爱吃鱼的程序员 2020-06-15 19:35:57 434 分享 版权
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    看看数据库目录下postgresql.conf文件中listen_addresses设定是什么

    2020-06-15 19:36:14
    赞同 展开评论