Warning: pg_connect(): Unable to connect to PostgreSQL server: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/tmp/.s.PGSQL.5432"? in /var/MyCard/Public.WWW/Code/MyCard/sql.php on line 124 An error occured. Warning: pg_errormessage() expects parameter 1 to be resource, boolean given in /var/MyCard/Public.WWW/Code/MyCard/sql.php on line 127