postgresql修改数据库用户的登陆密码

1.登陆数据库服务器

su   -  posrgres

2.登陆数据库

psql

3.修改密码

alter   user  postgres  with  password 'GEO4_post';

其中  postgres是数据库的用户名,GEO4_post是新的密码。

posted @ 2022-04-19 14:21  中仕  阅读(239)  评论(0编辑  收藏  举报