PostgreSql开启远程访问(Ubuntu),pgadmin4远程连接pgsql
postgresql默认不开启远程连接,所以在用pgadmin4尝试连接时会报错
1.安装pgsql,这个跳过不说
2.修改postgresql.conf 和 pg_hba.conf
1.查找这两个文件
寻找文档可以使用find 命令, find / -name postgresql.conf,
但是 find 命令查找出来的文件数量太多,容易看花眼,所以选择 locate 命令
locate postgresql.conf
locate postgresql.conf
然后找到 etc.
原创
2020-06-25 09:05:45 ·
1348 阅读 ·
0 评论