Unable to connect to postgress with libPQ

brett_knoss
Wed, 03 Nov 2021 18:49:44 +0000
General Usage

conn2 = LibPQ.Connection("dbname=postgres")

tells me that I can’t find

 Unix domain socket "/tmp/.s.PGSQL.5432"?

I’m using Ubuntu 20.04.3 LTS on an x86 Xeon machine. I’ve had the same issue with Crystal. Postgress is installed, but I need to figure out how to troubleshoot it.

8 posts - 2 participants