문제

I am trying to setup pgpool2 with postgresql. I have both on different ec2 instances. I am going through the tutorial and I am trying to create a database with

createdb -U <username> -p <port> -h <IPpostgres> bench_replication

It then prompts me for a password. The user does not have any password.

createdb: could not connect to database template1: fe_sendauth: no password supplied

Do I need to set up SSH keys?

도움이 되었습니까?

해결책

You need to provide a password for the PostgreSQL user or set pg_hba.conf to allow trusted connections.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top