View Single Post
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 06-11-2017 , 18:16   Re: PostgreSQL Database Interface
Reply With Quote #15

Quote:
Originally Posted by SovRedBit View Post
Yep, it tell me about this error, but i changed my port in database.cfg and on database server.
Anyway i made a default port 5432 and it still give me this error, don't know what to do, i have PostgreSQL-9.4 on server and PostgreSQL-9.2 on client and i configured it to connect to the server but the extension still give me this error, don't know why.


L 06/11/2017 - 23:03:21: [SM] Exception reported: OnDBConnect 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"?
It is trying to connect using a unix domain socket so the port is completely ignored anyway...

That error message is straight from the Postgres client library, if you search for "Is the server running locally and accepting connections on Unix domain socket" you'll see many people discussing it and hopefully be able to solve it.
__________________
asherkin is offline