标签:
命令:su - postgres
CREATE USER foo WITH PASSWORD ‘secret‘;
====================
1、2个配置修改
postgresql.conf:修改
listen_addresses = ‘*‘
pg_hba.conf:增加
# IPv4 local connections:
host all all 127.0.0.1/32 md5
host all all 0.0.0.0/0 md5
2、创建用户
命令:su - postgres
CREATE USER foo WITH PASSWORD ‘secret‘;
(原文如下)
Redhat上新装PostgreSQL9.1.3, 用psql连不上, 报错:
(转载)postgresql navicat 客户端连接验证失败解决方法:password authentication failed for user
标签:
原文地址:http://www.cnblogs.com/showker/p/4324546.html