Received: from proxy.hddesign.com (proxy.hddesign.com [216.165.162.2]) by hub.org (8.10.1/8.11.0) with ESMTP id e9GE1CW28663 for ; Mon, 16 Oct 2000 10:01:12 -0400 (EDT) (envelope-from dhjr@hddesign.com) Received: from develope.hddesign.com (hddesign-6.hddesign.com [216.165.162.6]) by proxy.hddesign.com (8.9.3/8.9.3) with ESMTP id JAA15974; Mon, 16 Oct 2000 09:00:32 -0500 Date: Mon, 16 Oct 2000 09:00:32 -0500 Message-Id: <200010161400.JAA15974@proxy.hddesign.com> To: Kisala Muhavi Cc: pgsql-admin@postgresql.org From: David Huttleston Jr Reply-To: dhjr@hddesign.com Subject: Re: Database connectivity X-Mailer: Pygmy (v0.4.1) In-Reply-To: <381172629.971691405874.JavaMail.root@web586-ec.mail.com> X-Archive-Number: 200010/70 X-Sequence-Number: 864 Hey Kisala, To get a windows client and a postgres linix server talking you need several things done on the server and the client. On the server: 1) pg 7.02 needs to have been compiled with ODBC support on 2) pg 7.02 needs to be running with the -i option to allow remote connections 3) pg_hba.conf needs a line appended to allow your client's IP address For example: host all 10.0.0.2 255.255.255.0 trust (change 10.0.0.2 and 255.255.255.0 to match the client's IP and netmask you wish to connect to postgres on your server.) On each client: 1) install the Windows ODBC driver on your client 2) create a ODBC data source using ODBC32 on the client. Make sure you turn *ON* the declare/fetch option when setting the properties. 3) Test connection using MS Access. For example, create an ODBC link and try a query. I think you will get better help with any problems using Access initially. There is not much talk of VB on these lists, but lots of Postgres-via-Access. Good Luck, Dave Huttleston Jr. On Mon, 16 Oct 2000 06:16:45 -0400 (EDT), you wrote: > hi, > I have postgres installed on my linux apache server. Im using Visual basic 6 > and MS Access as my front-end tools. Im unnable to connect to postgresql > database, despite that ive the latest ODBC drivers of postgresql installed > on my windows machine. Please advice me on how to connect to postgres from > windows environment. Im doing all this on LAN. > Thanks. > bonny > > > ----------------------------------------------- > FREE! The World's Best Email Address @email.com > Reserve your name now at http://www.email.com > >