PostgreSQL数据库忘记密码

1、找到程序安装目录,找到配置文件

 

 

 

 

改成trust,然后打开pgadmin,重新连接, 不需要登录密码直接连接

 

 

 

从新设置密码,关闭后从新登录

 

posted on 2020-10-17 22:49  topguntopgun  阅读(867)  评论(0)    收藏  举报

导航