Skip site navigation (1) Skip section navigation (2)

Re: How to enable ODBC?

From: "Benjamin Thelen" <benjamin(dot)thelen(at)ccgis(dot)de>
To: <brew(at)theMode(dot)com>, <pgsql-novice(at)postgresql(dot)org>
Subject: Re: How to enable ODBC?
Date: 2003-04-11 15:22:10
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-novice

I read that it is either neccessary to supply the --enable-odbc option to
the configure script or you can compile that later on by changing into
src/interfaces/odbc and do make and make install there. But I don't even
have this directory. But that is chapter 7 of the 7.2 documentation.

I found some more information, but that was for pgsql 6.x!!

1) You have a working Pgsql installation
	- done
2) You have modified pg_hba.conf to allow connections from hosts other than
the server itself
 - done
3) You have started pgsql with the i flag

	- I tried ./ start -i, but that did not help

4) You have created a sandbox database you have create table rights to.

	- What is a sandbox db?
	- I have granted full access to all dbs I have created.

I installed unixODBC, but I couldn't find the software afterwoods! So, I
don't know how to set up a DSN, just because I don't know how to start the
unixODBC-manager. The unixODBC documentation did not help a bit. I had the
hope whether it is possible to connect locally via odbc.


> -----Original Message-----
> From: pgsql-novice-owner(at)postgresql(dot)org
> [mailto:pgsql-novice-owner(at)postgresql(dot)org]On Behalf Of brew(at)theMode(dot)com
> Sent: Friday, April 11, 2003 3:00 PM
> To: pgsql-novice(at)postgresql(dot)org
> Subject: Re: [NOVICE] How to enable ODBC?
> Benjamin......
> > Before that I added via webmin-web-interface
> > " databases/All users/No authentication
> > required" to the allowed hosts.
> > I tried to connect via MS-Access, but it failed:
> In addition to allowing hosts, etc, I think pgsqld must be started with a
> command line switch to allow tcp connections.  I'm not sure of it exactly,
> since I'm only running web server connections, but I think you are real
> close to getting it working.  You have to add it in inet.d, or however
> you're distribution starts on boot up.
> Sorry I'm not more specific, but I bet you almost have it... just one more
> step.
> brew
> ==========================================================================
>                   Strange Brew   (brew(at)theMode(dot)com)
>      Check out my Musician's Online Database Exchange (The MODE Pages)
> ==========================================================================
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?

In response to

pgsql-novice by date

Next:From: Josh BerkusDate: 2003-04-11 17:38:39
Subject: Re: Borland dbExpress in Kylix 3 (Delphi for Linux)
Previous:From: Saverio PieriDate: 2003-04-11 13:27:36
Subject: Connection TimeOut

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group