您好,欢迎来到刀刀网。
搜索
您的当前位置:首页「postgres」登录 psql: FATAL: Peer authentication failed for user "postgres"

「postgres」登录 psql: FATAL: Peer authentication failed for user "postgres"

来源:刀刀网

【问题现象】

自搭postgres数据库,然后执行 #psql -U postgres  提示psql: FATAL:  Peer authentication failed for user "postgres"

【解决】

切换到Linux用户postgres,然后执行psql:

su - postgres
-bash-4.2$ psql

转载于:https://www.cnblogs.com/ftrako/p/10265553.html

因篇幅问题不能全部显示,请点此查看更多更全内容

Copyright © 2019- gamedaodao.com 版权所有 湘ICP备2022005869号-6

违法及侵权请联系:TEL:199 18 7713 E-MAIL:2724546146@qq.com

本站由北京市万商天勤律师事务所王兴未律师提供法律服务