Files
chill_notes/数据库知识库/POSTGRESQL/Postgresql 帐号密码修改方法.md
2026-04-16 00:28:41 +08:00

267 B
Executable File
Raw Blame History

==#su postgres== ======-bash-3.2$psql - postgres== ======postgres=#alter user postgres with password 'new password';== ==////====一定要加分号执行========postgres=#\q==

su - postgres psql -U postgresalter user postgres with encrypted password '1';