Settings | Sign in | Sign up

The author has 1 post.

【解决办法】phpPgAdmin总是提示Login Failed,但pgAdmin3又能正常连接的解决办法

Floor 1 巨大八爪鱼 8/21/14 23:19
打开/var/lib/pgsql/data/pg_hba.conf文件,
# "local" is for Unix domain socket connections only
local   all             all                                     md5 #peer
# IPv4 local connections:
host    all             all             127.0.0.1/32            md5 #ident
# IPv6 local connections:
host    all             all             ::1/128                 md5 #ident


把这三个右边全部改成md5就行了,不能只改一个!!!切记

Content converter:

Reply the post
Content:
User: You are currently anonymous.
Captcha:
Unclear? Try another one.