pg.ddx.io pgsql-odbc@postgresql.org mailing list archive
help / color / mirror / Atom feedRemopte connection to POstgreSQL via ODBC
3+ messages / 3 participants
[nested] [flat]
* Remopte connection to POstgreSQL via ODBC
@ 2005-08-07 15:42 Zlatko Matić <zlatko.matic1@sb.t-com.hr>
0 siblings, 1 reply; 3+ messages in thread
From: Zlatko Matić @ 2005-08-07 15:42 UTC (permalink / raw)
To: pgsql-general@postgresql.org; pgsql-odbc
Hello.
I just read all about TCP/IP, pg_hba.conf, listen_adresses and similar topics regarding remote TCP/IP connections,
but where can I find explanations about how to remotely connect using ODBC and DSN-less connection string.
For example, how to connect to PostgreSQL server from remote computer using MS Access and DSN-less connection string ?
Since now, I successfully conected from MS Access using DSN-less connection string but from the same machine. What if server is on a remote computer ? Is there any guide?
Thanks in advance,
Zlatko
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Remopte connection to POstgreSQL via ODBC
@ 2005-08-07 19:44 Poul Møller Hansen <freebsd@pbnet.dk>
parent: Zlatko Matić <zlatko.matic1@sb.t-com.hr>
0 siblings, 0 replies; 3+ messages in thread
From: Poul Møller Hansen @ 2005-08-07 19:44 UTC (permalink / raw)
To: Zlatko Matić <zlatko.matic1@sb.t-com.hr>; +Cc: pgsql-general@postgresql.org; pgsql-odbc
Google is your friend, follow this
http://archives.postgresql.org/pgsql-odbc/2004-02/msg00029.php
Poul
Zlatko Matić wrote:
> Hello.
>
> I just read all about TCP/IP, pg_hba.conf, listen_adresses and similar
> topics regarding remote TCP/IP connections,
> but where can I find explanations about how to remotely connect using
> ODBC and DSN-less connection string.
> For example, how to connect to PostgreSQL server from remote computer
> using MS Access and DSN-less connection string ?
> Since now, I successfully conected from MS Access using DSN-less
> connection string but from the same machine. What if server is on a
> remote computer ? Is there any guide?
>
> Thanks in advance,
>
> Zlatko
>
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Remopte connection to POstgreSQL via ODBC
@ 2005-08-08 12:06 Merlin Moncure <merlin.moncure@rcsonline.com>
0 siblings, 0 replies; 3+ messages in thread
From: Merlin Moncure @ 2005-08-08 12:06 UTC (permalink / raw)
To: Zlatko Matic <zlatko.matic1@sb.t-com.hr>; +Cc: pgsql-odbc
This is actually a good question: I don't think there is documentation for this on the odbc site. Anyways, here is a small vbscript sample:
Dim pgCommand
set pgCommand = createObject("ADODB.Connection")
DSN = "DRIVER={PostgreSQL}; Server=localhost; Database=esp; UID=odbc_user"
pgCommand.Open DSN
you can very the dsn line as necessary.
merlin
________________________________
From: pgsql-odbc-owner@postgresql.org [mailto:pgsql-odbc-owner@postgresql.org] On Behalf Of "Zlatko Matic"
Sent: Sunday, August 07, 2005 11:43 AM
To: pgsql-general@postgresql.org; pgsql-odbc@postgresql.org
Subject: [ODBC] Remopte connection to POstgreSQL via ODBC
Hello.
I just read all about TCP/IP, pg_hba.conf, listen_adresses and similar topics regarding remote TCP/IP connections,
but where can I find explanations about how to remotely connect using ODBC and DSN-less connection string.
For example, how to connect to PostgreSQL server from remote computer using MS Access and DSN-less connection string ?
Since now, I successfully conected from MS Access using DSN-less connection string but from the same machine. What if server is on a remote computer ? Is there any guide?
Thanks in advance,
Zlatko
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2005-08-08 12:06 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-08-07 15:42 Remopte connection to POstgreSQL via ODBC Zlatko Matić <zlatko.matic1@sb.t-com.hr>
2005-08-07 19:44 ` Poul Møller Hansen <freebsd@pbnet.dk>
2005-08-08 12:06 Re: Remopte connection to POstgreSQL via ODBC Merlin Moncure <merlin.moncure@rcsonline.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox