I'm slowly losing my mind. I tried to install postgresql on WSL Arch but I can't connect to it. The error I'm getting when I try to run 'psql' is:
psql: error: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/run/postgresql/.s.PGSQL.5432"?
Like the error says, there's no 'run' folder. I don't know how to configure it if I can.
I'm using WSL2. I tried stopping/starting with systemctl. It is running but can't connect.