Dear All,
Can you help me to solve how to connect to PostgreSQL by using asp below :
<%@ LANGUAGE=VBScript%>
<%
Set Baglanti = Server.CreateObject("ADODB.Connection")
DbDriver ="driver={PostgreSQL}; server=localhost; PORT=5432; database=everyday; uid=postgres; pwd=123"
Baglanti.Open DbDriver
response.write("Test Success")
%>
And This is the error message when i run code above :
Could not connect to the server; Could not connect to remote socket.
What is problem? How can i solve? This is my mail for your answer : [email protected]
Thank you Tenh