deepin下设置pgadmin4

喜夏-厌秋 提交于 2020-01-12 19:38:25

安装  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 行记录)

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!