Change/reset postgresql user password on windows 7

前端 未结 5 1204
余生分开走
余生分开走 2021-02-01 17:43

Several days ago I install postgesql 9.2 version on my local computer. (OS windows 7)

Now I forgot my password and I can not login in pgAdmin.

How to change pos

5条回答
  •  有刺的猬
    2021-02-01 18:21

    In windows postgres stores password for automatic login at following path (only if you would have selected password save option while installation)

    C:\Users\USERNAME\AppData\Roaming\postgresql\pgpass.conf

    you can open this file in a text editor and see your password.

提交回复
热议问题