HI all
Im new to postgres.
I tried to create user with the command createuser from outside the psql client. But got the below error.
Based on tutorial, I could see the createuser <<username>> gets created, but while login it will throw error. My case is like below.
[postgres@localhost ~]$ createuser mytest
Password:
createuser: could not connect to database postgres: FATAL: password authentication failed for user "postgres"