|
安装 pgadmin4 命令 sudo apt-get install pgadmin4
设置deepin的root密码 命令 sudo passwd
提示
输入新的 UNIX 密码: 重新输入新的 UNIX 密码: passwd:已成功更新密码
设置postgres的密码
命令
thenext@thenext-PC:~$ su 密码: root@thenext-PC:/home/thenext# passwd postgres 输入新的 UNIX 密码: 重新输入新的 UNIX 密码: passwd:已成功更新密码
root@thenext-PC:/home/thenext# su - postgres postgres@thenext-PC:~$ psql psql (11.6 (Debian 11.6-1.pgdg90+1)) 输入 "help" 来获取帮助信息.
postgres=# \password 输入新的密码: 再次输入:
postgres=# select pg_reload_conf(); pg_reload_conf ---------------- t (1 行记录)
来源:https://www.cnblogs.com/Thenext/p/12184357.html |