Search Postgresql Archives

Re: error on connecting port 5432

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday, December 1, 2020, Atul Kumar <akumar14871@xxxxxxxxx> wrote:
There is no directory of postgresql in /var/run.

Wasn’t expecting there to be, that’s what you get the error.


Please help me out.

Since “su - postgres” works for psql just do that for createuser.

Or do what Tom said and specify -h /tmp in your commands

It might be interesting to see what “which psql” shows in each case; or whether psql works in the sudo -u case.

David J.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux