Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 69AB2633F51 for ; Tue, 3 Nov 2009 11:52:28 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 44371-01 for ; Tue, 3 Nov 2009 15:52:07 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from butane.sunnybrook.utoronto.ca (unknown [142.76.1.55]) by mail.postgresql.org (Postfix) with ESMTP id 39690633C0A for ; Tue, 3 Nov 2009 11:52:14 -0400 (AST) Received: from (unknown [142.76.29.30]) by scm2.sw.ca with smtp id 7d2a_da39c48e_c890_11de_b8bd_0014221ddf43; Tue, 03 Nov 2009 10:52:12 -0500 Received: from [142.76.25.53] ([142.76.25.53]) by butane.sunnybrook.utoronto.ca (8.13.8/8.13.8) with ESMTP id nA3Fq9W7020048 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 3 Nov 2009 10:52:09 -0500 (EST) Message-ID: <4AF051A7.6050003@sri.utoronto.ca> Date: Tue, 03 Nov 2009 10:52:07 -0500 From: Nim Li User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: rod@iol.ie CC: pgsql-odbc@postgresql.org Subject: Re: Question about saving user name and password References: <4AEF4833.8020806@sri.utoronto.ca> <4AEF4938.7070000@iol.ie> <4AEF4BB4.8060605@sri.utoronto.ca> <4AEF4CF7.5060800@iol.ie> <4AEF5054.3000606@sri.utoronto.ca> In-Reply-To: <4AEF5054.3000606@sri.utoronto.ca> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV version 0.93.1, clamav-milter version 0.93.1 on butane.sunnybrook.utoronto.ca X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.63 on 142.76.29.30 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.034 tagged_above=-10 required=5 tests=AWL=0.465, BAYES_00=-2.599, RDNS_NONE=0.1 X-Spam-Level: X-Archive-Number: 200911/7 X-Sequence-Number: 10056 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. >> >