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

Re: Trouble creating a DSN-file

From: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
To: "Kelvin Varst" <kelvin(at)varst(dot)dk>, <pgsql-odbc(at)postgresql(dot)org>
Subject: Re: Trouble creating a DSN-file
Date: 2004-04-28 08:03:54
Message-ID: 03AF4E498C591348A42FC93DEA9661B889FB7D@mail.vale-housing.co.uk (view raw or flat)
Thread:
Lists: pgsql-odbc
 

> -----Original Message-----
> From: Kelvin Varst [mailto:kelvin(at)varst(dot)dk] 
> Sent: 28 April 2004 07:10
> To: pgsql-odbc(at)postgresql(dot)org
> Subject: [ODBC] Trouble creating a DSN-file
> 
> Hi,
> 
> I'm having trouble creating a DSN-file in the ODBC manager in 
> windows. I have installed psqlodbc-07_02_0005 on my Windows, 
> and when I add a DSN and choose a Postgres driver, the 
> detailed dialog asks for Database, Server, User, Password and 
> so on. When I fill in the data, and try to save, nothing is 
> saved to the actual file, other than the DRIVER-parameter. I 
> need the DSN-file for another program. What am I doing wrong?

Hi Kelvin,

I can confirm that creating file DSNs doesn't seem to work at the moment
- however you should still be able to use them if you manually create
one. For example:

[ODBC]
DRIVER=PostgreSQL
Database=DatabaseName
Server=ServerName
Port=5432
UID=Username
PWD=Password

Regards, Dave

Responses

pgsql-odbc by date

Next:From: Kelvin VarstDate: 2004-04-28 17:07:17
Subject: Re: Trouble creating a DSN-file
Previous:From: Kelvin VarstDate: 2004-04-28 06:10:01
Subject: Trouble creating a DSN-file

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