Re: Nu-B here

From: Alban Hertroys <haramrae(at)gmail(dot)com>
To: Amn Ojee Uw <amnojeeuw(at)gmail(dot)com>
Cc: pgsql-general <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Nu-B here
Date: 2023-07-20 06:32:36
Message-ID: 975DAA29-FD15-4B1D-B19C-297725A59D74@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


> On 20 Jul 2023, at 02:36, Amn Ojee Uw <amnojeeuw(at)gmail(dot)com> wrote:
>
> After this command 'sudo -u postgres psql'
> I get this message :
> could not change directory to "/home/my_account": Permission denied

What’s the reason that you’re using the OS user postgres?

If you’re simply trying to connect to the database named postgres as database user postgres, you can instead use the command 'psql -U postgres postgres’.

Alban Hertroys
--
If you can't see the forest for the trees,
cut the trees and you'll find there is no forest.

In response to

  • Nu-B here at 2023-07-20 00:36:27 from Amn Ojee Uw

Responses

Browse pgsql-general by date

  From Date Subject
Next Message gzh 2023-07-20 07:09:22 How to improve the performance of my SQL query?
Previous Message Anthony Apollis 2023-07-20 05:40:15 Postgres SQL