Ron Johnson <ronljohnsonjr@xxxxxxxxx> writes: > On Thu, Jan 25, 2024 at 3:32 PM Adrian Klaver <adrian.klaver@xxxxxxxxxxx> > wrote: >> Best guess is you are using a version of psql that is expecting the >> socket to be somewhere else then where it actually is. > Is "permission denied" really the error you get when the socket does not > exist? Nope, that should mean either that /tmp is not readable, or that the socket file is there but has restrictive permissions. That doesn't necessarily make Adrian's answer wrong though. regards, tom lane