文章目录 1. 问题描述 2. 解决方案 1. 问题描述 使用命令psql登录PostgreSQL服务器的时候,报错提示如下: psql: FATAL: no pg_hba.conf entry for host "192.168.0.22", user "testuser", database "test", SSL off