I’m pretty certain I have a PG server running as I am able to get results on a select query after logging into a custom db using the postgres username and no password.
I use the the following commands to:
Start server- postgres -D C:\Program Files\PostgreSQL\9.4\data
Execute Query - psql -U postgres mydb <—- No password needed
pqsl -U converseUser mydb <—- password supplied and validated
But all the following dbinit calls return “dbname mydb - fe_sendauth : no password supplied” in $$db_error:
dbinit(dbname=mydb port=5432 user=postgres password=)
dbinit(dbname=mydb port=5432 user=postgres password=abcde)
dbinit(dbname=mydb port=5432 user=postgres password=NULL)
dbinit(dbname=mydb port=5432 user=postgres)
dbinit(dbname=mydb port=5432 user=converseUser password=abcde)