gpt4 book ai didi

postgresql - pgadmin 给我错误 : no password supplied

转载 作者:行者123 更新时间:2023-11-29 11:10:25 27 4
gpt4 key购买 nike

我已经在 linux (kubuntu) 和最新版本的 pgadmin3 上安装了 postgresql 9.2,但是当我连接它们时出现这个错误:

发生错误:连接到服务器时出错:fe_sendauth:未提供密码

我能做什么?

我还在 java 中为我的 Web 应用程序配置了 tomcat。事实上,在尝试我的应用程序之前,postgresql 已经在工作了。

最佳答案

更改角色 postgres 的密码:

sudo -u postgres psql postgres

alter user postgres with password 'postgres';

尝试使用“postgres”作为用户名和密码进行连接。

引用:How to change PostgreSQL user password

关于postgresql - pgadmin 给我错误 : no password supplied,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14035742/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com