| From: | Amn Ojee Uw <amnojeeuw(at)gmail(dot)com> |
|---|---|
| To: | pgsql-general(at)lists(dot)postgresql(dot)org |
| Subject: | error: connection to server on socket... |
| Date: | 2023-08-01 10:22:46 |
| Message-ID: | 97d77785-22a0-5d48-9582-4a7beb2dc14f@gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
Using the following command on my Debian 12 machine:
/*sudo apt-get install postgresql postgresql-15 postgresql-client-common
postgresql-common postgresql-contrib postgresql-doc phppgadmin
*/
and following the instruction on this
<https://wiki.debian.org/PostgreSql#User_access> web page I have
installed PostgreSQL-15.
The installation went smooth, until the following command was issued :
/*sudo -u postgres psql*/
... I get an error message that reads:
/*could not change directory to "/home/my_account": Permission denied*//*
*//*psql: error: connection to server on socket
"/var/run/postgresql/.s.PGSQL.5432" failed: No such file or directory*//*
*//* Is the server running locally and accepting connections on that
socket?*/
What can I do to resolve this issue?
Thanks in advance.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Amn Ojee Uw | 2023-08-01 10:25:54 | Re: error: connection to server on socket... |
| Previous Message | jacktby | 2023-08-01 09:27:08 | How to build a new grammer for pg? |