Received: from mail.amphi.com (mail.amphi.com [206.210.134.2]) by postgresql.org (8.11.3/8.11.1) with SMTP id f6DG1oa36850 for ; Fri, 13 Jul 2001 12:01:50 -0400 (EDT) (envelope-from jdavis@amphi.com) Received: (qmail 10614 invoked from network); 13 Jul 2001 15:34:55 -0000 Received: from host134-36.amphi.com (HELO amphi.com) (206.210.134.36) by mail.amphi.com with SMTP; 13 Jul 2001 15:34:55 -0000 Message-ID: <3B4F1528.7304951E@amphi.com> Date: Fri, 13 Jul 2001 08:35:04 -0700 From: jim davis X-Mailer: Mozilla 4.72 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Christian Bucanac CC: pgsql-odbc@postgresql.org, pgsql-novice@postgresql.org Subject: Re: [ODBC] fatal ODBC error? References: <5146853DD571D411AC54000102070D611C7F11@MINGBGNTS02> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-AntiVirus: scanned for viruses by Amphitheater Public Schools X-Archive-Number: 200107/66 X-Sequence-Number: 1741 Thanks!! the -i option was the key. -Jim Christian Bucanac wrote: > > You have to > * start postmaster with the -i option, see man postmaster > * add host config to pg_hba.conf, see pg_hba.conf > * enter the right configuration in the odbc driver > * make sure the user you are connecting as exists in the db, see createuser > > /Buckis > > -----Original Message----- > From: jim davis [mailto:jdavis@amphi.com] > Sent: den 11 juli 2001 22:09 > To: pgsql-odbc@postgresql.org > Subject: [ODBC] fatal ODBC error? > > I posted this on the "Novice" list, but the more I think about it, I > more I think it should be asked here. I have downloaded the 7.1.2 > version of PostgreSQL and ./configure'ed it with --enable-odbc and > gmake'd install-with-full-headers, I started it with > /usr/local/pgsql/bin postmaster -D /usr/local/pgsql/data. Then I went > in with "Webmin v. .82" and opened it up so any host can see any > database, created a "testdb" database. I then downloaded from a > postgresql mirror the pgsql_ODBC drivers and installed it on my win2k > box. then when I try and access the testdb database with the ODBC > driver, I see on the server, an error that says, "FATAL 1: Database > template0 not accepting connections" and the win2k box cant connect... > help? > > -Jim Davis > Network Coordinator II > Amphitheater Public Schools > Voice: (520)696-5120 > Fax: (520)696-5070 > e-mail: jdavis@amphi.com > > ---------------------------(end of broadcast)--------------------------- > TIP 4: Don't 'kill -9' the postmaster