Files
chill_notes/数据库知识库/POSTGRESQL/Postgresql 帐号密码修改方法.md
2026-04-15 23:34:33 +08:00

273 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';