I am following the instructions on https://confluence.atlassian.com/display/STASH/Connecting+Stash+to+PostgreSQL
But after running the two "CREATE" commands in psql, the user still does not seem to be valid. During install the test connection to the database fails and I also can't connect from the command line like this:
-bash-4.2$ psql -h localhost -d stash -U stashuser -W
Password for user stashuser:
psql: FATAL: Ident authentication failed for user "stashuser"
-bash-4.2$
My CREATE commands were
CREATE ROLE stashuser WITH LOGIN PASSWORD 'JELLYFISH' VALID UNTIL 'infinity';
CREATE DATABASE stash WITH ENCODING='UTF8' OWNER=stashuser CONNECTION LIMIT=-1;
I am new to PostgreSQL so could there be more I need to do there? Like flush privileges or something?
This is a new server I am setting up, with hardware more like what we wish to deploy.
Thanks
Mark