Tell me more ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

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?

share|improve this question
 
1. How have you checked that the PostgreSQL user doesn't have a password? 2. Have you checked the authentication method set up on the server in your pg_hba.conf –  Richard Huxton 8 hours ago

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.