Re: Psql not working
От | Kashif Zeeshan |
---|---|
Тема | Re: Psql not working |
Дата | |
Msg-id | CAAPsdhfTwmrztts1eLXP2N9xRb7KZNxQakaGZPQkm2Y242kK0g@mail.gmail.com обсуждение исходный текст |
Ответ на | Psql not working ("Narendran .j" <jnarendran3@gmail.com>) |
Ответы |
Re: Psql not working
|
Список | pgsql-admin |
Hi
Can you check which user you are using to run psql,
Do the following
1. Execute ls -lrt /usr/pgsql../bin/psql to see if the user have access to it
2. If you have access then try running the command psql --help to make sure if you have access to psql.
3. Also try to connect with the wrong user / port to see if psql generates error.
Regards
Kashif Zeeshan
On Thu, Dec 12, 2024 at 6:31 PM Narendran .j <jnarendran3@gmail.com> wrote:
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 psqlMy login attemptpsql/usr/pgsql-14/bin/psqlpsql -U postgres -p 5432 -d postgresWhen I'm running above query it's return to next line, nothing comes upPlease on this.Thanks
В списке pgsql-admin по дате отправления: