Hi,

 

which user are you?

Check with: id

 

Try something like "su - postgres" before issuing psql command

 

Best,

 

Anton

 

Von: Narendran .j <[email protected]>
Gesendet: Donnerstag, 12. Dezember 2024 14:31
An: [email protected]
Betreff: Psql not working

 

Hello Team,

 

I'm facing one problem, can't login postgres by psql, even it's not throwing any error and can't find anything in log.

 

Checked server is running fine, able to check status using pg_ctl. Can can't login through psql

 

My login attempt 

 

psql

/usr/pgsql-14/bin/psql

psql -U postgres -p 5432 -d postgres 

 

When I'm running above query it's return to next line, nothing comes up

 

Please on this.

 

Thanks