From zlatko.matic1@sb.t-com.hr Sun Aug 7 15:42:56 2005 X-Original-To: pgsql-general-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id ED6CF52C49; Sun, 7 Aug 2005 12:42:56 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 41229-03; Sun, 7 Aug 2005 15:42:52 +0000 (GMT) Received: from ls405.htnet.hr (ls405.htnet.hr [195.29.150.97]) by svr1.postgresql.org (Postfix) with ESMTP id 4C4E652C48; Sun, 7 Aug 2005 12:42:50 -0300 (ADT) Received: from ls422.t-com.hr (ls422.t-com.hr [195.29.150.237]) by ls405.htnet.hr (0.0.0/8.12.10) with ESMTP id j77FggtC014304; Sun, 7 Aug 2005 17:42:44 +0200 Received: from ls422.t-com.hr (ls422.t-com.hr [127.0.0.1]) by ls422.t-com.hr (Qmlai) with ESMTP id 5EF8F988042; Sun, 7 Aug 2005 17:40:17 +0200 (CEST) X-Envelope-Sender: zlatko.matic1@sb.t-com.hr X-Envelope-Sender: zlatko.matic1@sb.t-com.hr Received: from ls422.t-com.hr (ls422.t-com.hr [127.0.0.1]) by ls422.t-com.hr (Qmlai) with ESMTP id 48F2698803F; Sun, 7 Aug 2005 17:40:17 +0200 (CEST) Received: from zlatkovyfkpgz6 (ao4-m218.net.t-com.hr [195.29.35.218]) by ls422.t-com.hr (Qmlai) with SMTP id 3C6B18B803C; Sun, 7 Aug 2005 17:40:12 +0200 (CEST) Message-ID: <00c901c59b66$a86e5660$da231dc3@zlatkovyfkpgz6> From: =?iso-8859-2?Q?Zlatko_Mati=E6?= To: , Subject: Remopte connection to POstgreSQL via ODBC Date: Sun, 7 Aug 2005 17:42:41 +0200 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_00C6_01C59B77.68FFB850" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.15 tagged_above=0 required=5 tests=AWL, HTML_50_60, HTML_MESSAGE X-Spam-Level: X-Archive-Number: 200508/356 X-Sequence-Number: 81764 This is a multi-part message in MIME format. ------=_NextPart_000_00C6_01C59B77.68FFB850 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable 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 ------=_NextPart_000_00C6_01C59B77.68FFB850 Content-Type: text/html; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable
Hello.
 
I just read all about TCP/IP, = pg_hba.conf,=20 listen_adresses and similar topics regarding remote TCP/IP=20 connections,
but where can I find explanations about = how to=20 remotely connect using ODBC and DSN-less connection = string.
For example, how to connect to = PostgreSQL server=20 from remote computer using MS Access and DSN-less connection string=20 ?
Since now, I successfully conected from = MS Access=20 using DSN-less connection string but from the same machine. What if = server is on=20 a remote computer ? Is there any guide?
 
Thanks in advance,
 
Zlatko
 
------=_NextPart_000_00C6_01C59B77.68FFB850-- From freebsd@pbnet.dk Sun Aug 7 19:45:02 2005 X-Original-To: pgsql-general-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id C45C252942; Sun, 7 Aug 2005 16:45:02 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 98314-09; Sun, 7 Aug 2005 19:44:58 +0000 (GMT) Received: from benny.care4all.dk (cpe.atm2-0-52453.0x50a4a22a.esnxx3.customer.tele.dk [80.164.162.42]) by svr1.postgresql.org (Postfix) with ESMTP id AED725280C; Sun, 7 Aug 2005 16:44:55 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by benny.care4all.dk (Postfix) with ESMTP id 1046D10874; Sun, 7 Aug 2005 21:44:55 +0200 (CEST) Received: from benny.care4all.dk ([127.0.0.1]) by localhost (benny [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 26660-02; Sun, 7 Aug 2005 21:44:54 +0200 (CEST) Received: from [172.19.10.164] (x1-6-00-80-c8-03-a6-d7.k438.webspeed.dk [83.89.23.114]) by benny.care4all.dk (Postfix) with ESMTP id 295D810BDD; Sun, 7 Aug 2005 21:44:54 +0200 (CEST) Message-ID: <42F664B5.2070106@pbnet.dk> Date: Sun, 07 Aug 2005 21:44:53 +0200 From: =?UTF-8?B?UG91bCBNw7hsbGVyIEhhbnNlbg==?= User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: =?UTF-8?B?WmxhdGtvIE1hdGnEhw==?= Cc: pgsql-general@postgresql.org, pgsql-odbc@postgresql.org Subject: Re: Remopte connection to POstgreSQL via ODBC References: <00c901c59b66$a86e5660$da231dc3@zlatkovyfkpgz6> In-Reply-To: <00c901c59b66$a86e5660$da231dc3@zlatkovyfkpgz6> Content-Type: multipart/alternative; boundary="------------020406040408040300060308" X-Virus-Scanned: by amavisd-new at care4all.dk X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.122 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO, HTML_50_60, HTML_MESSAGE X-Spam-Level: X-Archive-Number: 200508/358 X-Sequence-Number: 81766 This is a multi-part message in MIME format. --------------020406040408040300060308 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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 > --------------020406040408040300060308 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit 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
 

--------------020406040408040300060308-- From merlin.moncure@rcsonline.com Mon Aug 8 12:07:15 2005 X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 8248952C14 for ; Mon, 8 Aug 2005 09:07:15 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 68746-04 for ; Mon, 8 Aug 2005 12:06:43 +0000 (GMT) Received: from Herge.rcsinc.local (mail.rcsonline.com [205.217.85.91]) by svr1.postgresql.org (Postfix) with ESMTP id D5E6352BCC for ; Mon, 8 Aug 2005 09:06:38 -0300 (ADT) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C59C11.A2C664FD" X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Subject: Re: Remopte connection to POstgreSQL via ODBC Date: Mon, 8 Aug 2005 08:06:40 -0400 Message-ID: <6EE64EF3AB31D5448D0007DD34EEB3417DD013@Herge.rcsinc.local> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [ODBC] Remopte connection to POstgreSQL via ODBC Thread-Index: AcWbaUchlOSqGdkdRYeG8VtQegoTLwAp93Nw From: "Merlin Moncure" To: "Zlatko Matic" Cc: X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.056 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO, HTML_MESSAGE X-Spam-Level: X-Archive-Number: 200508/73 X-Sequence-Number: 5712 This is a multi-part message in MIME format. ------_=_NextPart_001_01C59C11.A2C664FD Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable 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: =20 Dim pgCommand set pgCommand =3D createObject("ADODB.Connection") DSN =3D "DRIVER=3D{PostgreSQL}; Server=3Dlocalhost; Database=3Desp; = UID=3Dodbc_user" pgCommand.Open DSN =20 you can very the dsn line as necessary. =20 merlin =20 ________________________________ 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 =20 Hello. =20 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? =20 Thanks in advance, =20 Zlatko =20 ------_=_NextPart_001_01C59C11.A2C664FD Content-Type: text/html; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable

This is actually a good question: I = don’t think there is documentation for this on the odbc site.=A0 Anyways, here is a small vbscript = sample:

 

Dim = pgCommand

set= pgCommand =3D = createObject("ADODB.Connection")

DSN =3D "DRIVER=3D{PostgreSQL}; Server=3Dlocalhost; Database=3Desp; = UID=3Dodbc_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

 

------_=_NextPart_001_01C59C11.A2C664FD--