From: Nim Li <nimli@sri.utoronto.ca>
To: rod@iol.ie
Cc: pgsql-odbc@postgresql.org
Subject: Re: Question about saving user name and password
Date: Tue, 03 Nov 2009 10:52:07 -0500
Message-ID: <4AF051A7.6050003@sri.utoronto.ca> (raw)
In-Reply-To: <4AEF5054.3000606@sri.utoronto.ca>
References: <4AEF4833.8020806@sri.utoronto.ca>
<4AEF4938.7070000@iol.ie>
<4AEF4BB4.8060605@sri.utoronto.ca>
<4AEF4CF7.5060800@iol.ie>
<4AEF5054.3000606@sri.utoronto.ca>
Hello,
After I re-install the psqlodbc driver, I can find the postgresql driver
in odbc. However the same problem persists ... I can't find anywhere to
store the username and password.
Then, instead of reading the linked tables, I use ADO's connection
string to make the database connection, through which I provide the user
name and password in the codes. This solves my problem.
Thank you for your assistance.
On 11/2/2009 4:34 PM, Nim Li wrote:
> I find something weird...
>
> In Start > Admin tools> ODBC > User DSN, if I click "Add...", I don't
> see the PostgreSQL driver in the list at all.
>
> If I go to File DSN to configure the dsn file I've previously created,
> it prompts:
>
> General error: Invalid file dsn '... file name ...'
>
> I install the psqlodbc by running the psqlodbc.msi, and I know the
> driver (dll files) is installed to:
>
> C:\Program Files\psqlODBC\0804\bin\
>
> Is there something else I need to do?
>
> Thank you for your help!!
>
> On 11/2/2009 4:19 PM, Raymond O'Donnell wrote:
>> On 02/11/2009 21:14, Nim Li wrote:
>>> Thank you for your quick reply.
>>>
>>> I don't see any place to specify "save username and password".
>>
>> Well, I was thinking of where I create and/or edit the DSN:
>>
>> -> Start menu
>> -> Administrative tools
>> -> Data sources (ODBC)
>> -> User DSN or System DSN etc
>> -> Add (or "Configure for an exiting one)
>> -> Look for the username and password fields.
>>
>> Ray.
>>
>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: nimli@sri.utoronto.ca, rod@iol.ie
Subject: Re: Question about saving user name and password
In-Reply-To: <4AF051A7.6050003@sri.utoronto.ca>
References: <4AEF4833.8020806@sri.utoronto.ca> <4AEF4938.7070000@iol.ie> <4AEF4BB4.8060605@sri.utoronto.ca> <4AEF4CF7.5060800@iol.ie> <4AEF5054.3000606@sri.utoronto.ca> <4AF051A7.6050003@sri.utoronto.ca>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox