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

Re: Changing Port number in a File DSN

From: "Arnold, Sandra" <ArnoldS(at)osti(dot)gov>
To: "Craig Ringer" <craig(at)postnewspapers(dot)com(dot)au>
Cc: <pgsql-odbc(at)postgresql(dot)org>
Subject: Re: Changing Port number in a File DSN
Date: 2009-03-25 13:30:09
Message-ID: FE7C49B620149C4EA12A474643D9EABF456285@OSTIEXCH.osti.gov (view raw or flat)
Thread:
Lists: pgsql-odbc
I found a paper on "Using MS Access with PostgreSQL".  It did mention
that there was a bug that would not allow you to change the port number
when creating a file DSN that you had to edit the file.  Figured out how
to do that and I am now able to connect.  

Thanks,

Sandra 

-----Original Message-----
From: Craig Ringer [mailto:craig(at)postnewspapers(dot)com(dot)au] 
Sent: Tuesday, March 24, 2009 10:43 PM
To: Arnold, Sandra
Cc: pgsql-odbc(at)postgresql(dot)org
Subject: Re: [ODBC] Changing Port number in a File DSN

Arnold, Sandra wrote:
> I am unable to change the port number from 5432 to the correct port
> number for my PostgreSQL database when I create a File DSN.  I am need
> to migrate data from Microsoft Access to PostgresQL and a File DSN
> connecting to my PostgreSQL database is required.  Any help is greatly
> appreciated.

Either re-create the file DSN, or open the DSN file in a text editor and
manually alter the port number. I seem to remember that the latter
worked for me.

--
Craig Ringer

In response to

pgsql-odbc by date

Next:From: Michael ToewsDate: 2009-03-25 19:49:46
Subject: Multiple ConnSettings statements in connection string
Previous:From: Craig RingerDate: 2009-03-25 02:42:30
Subject: Re: Changing Port number in a File DSN

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