Files
chill_notes/数据库/PostgreSQL/PostgreSQL密码修改.md
2026-04-21 20:39:08 +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';