From: | "Merlin Moncure" <merlin(dot)moncure(at)rcsonline(dot)com> |
---|---|
To: | "Zlatko Matic" <zlatko(dot)matic1(at)sb(dot)t-com(dot)hr> |
Cc: | <pgsql-odbc(at)postgresql(dot)org> |
Subject: | Re: versions of oDBC driver |
Date: | 2005-10-21 12:59:04 |
Message-ID: | 6EE64EF3AB31D5448D0007DD34EEB3417DD663@Herge.rcsinc.local |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-odbc |
Can you check server log for the exact error? If you are running windows server, this is in the Application portion of the event log. Maybe your pg_hba.conf is improperly set up. If there is no error there, try connecting via shell using similar login parameters and see what happens.
Merlin
________________________________
From: "Zlatko Matić" [mailto:zlatko(dot)matic1(at)sb(dot)t-com(dot)hr]
Sent: Thursday, October 20, 2005 3:34 PM
To: Merlin Moncure
Cc: pgsql-odbc(at)postgresql(dot)org
Subject: Re: [ODBC] versions of oDBC driver
Importance: High
Hello.
The error is error 3151: "ODBC--connection to '{PostgreSQL}Localhost' failed".
I have a form with text boxes for entering Database name, IP adress, username, password etc. When a user push the confirmation button, a function "ConnectionToServer" is executed to: a) create connection string, b) to check whether connection string works, c) to call functions for relinking linked tables and adjusting connection string in pass-through queries. The code is following:
From | Date | Subject | |
---|---|---|---|
Next Message | Greg Campbell | 2005-10-21 15:12:12 | Re: versions of oDBC driver |
Previous Message | Dave Page | 2005-10-21 08:06:43 | Re: MAC OSX copy_and_convert_field bug for SQL_W_CHAR |