创建 .pcppass 文件 # su - postgres $ vi .pcppass #hostname:port:username:password node1:9999:pgpool:rootroot node1:9999:postgres:rootroot 授权 600 $ chmod 0600 ~/.pcppass 参考: http://www.pgpool.net/docs/37/en/html/pcp-commands.html