1、使用工具pgAdmin4
下载页面:
https://www.postgresql.org/ftp/pgadmin/pgadmin4/v7.4/windows/
2、服务端修改配置文件和规则
默认路径:/var/lib/pgsql/13/data/
2.1、修改i配置文件postgresql.conf
listen_addresses='*'
2.2、放通规则pg_hba.conf
host all all 0.0.0.0/0 trust
2.3、重启服务
systemctl restart postgresql-13.service
3、登录

