AW: Psql not working

From: "Dischner, Anton" <Anton(dot)Dischner(at)med(dot)uni-muenchen(dot)de>
To: "Narendran (dot)j" <jnarendran3(at)gmail(dot)com>, "pgsql-admin(at)lists(dot)postgresql(dot)org" <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: AW: Psql not working
Date: 2024-12-12 13:36:54
Message-ID: 2c780965a30740c3ba61cf86749867cb@med.uni-muenchen.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi,

which user are you?
Check with: id

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

Best,

Anton

Von: Narendran .j <jnarendran3(at)gmail(dot)com>
Gesendet: Donnerstag, 12. Dezember 2024 14:31
An: pgsql-admin(at)lists(dot)postgresql(dot)org
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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Kashif Zeeshan 2024-12-12 14:10:33 Re: Psql not working
Previous Message Narendran .j 2024-12-12 13:31:28 Psql not working