Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b08yZ-00065K-US for pgsql-odbc@arkaria.postgresql.org; Tue, 10 May 2016 14:49:32 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1b08yZ-0005zw-0U for pgsql-odbc@arkaria.postgresql.org; Tue, 10 May 2016 14:49:31 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1b08yY-0005zc-HH for pgsql-odbc@postgresql.org; Tue, 10 May 2016 14:49:30 +0000 Received: from mail.lurcherlink.org ([217.34.199.121] helo=mail.lurcher.org) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1b08yV-0002pk-DL for pgsql-odbc@postgresql.org; Tue, 10 May 2016 14:49:29 +0000 Received: from [172.20.0.153] (hul.easysoft.local [172.20.0.153]) by mail.lurcher.org (8.15.2/8.12.8) with ESMTP id u4AEnMd1027186 for ; Tue, 10 May 2016 15:49:22 +0100 Subject: Re: Case-sensitivity of connection string parameters To: pgsql-odbc@postgresql.org References: <5731E16A.8020400@dream.email.ne.jp> From: Nick Gorham Message-ID: <5731F524.80604@lurcher.org> Date: Tue, 10 May 2016 15:50:12 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on sipserver.lurcher.org X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-odbc Precedence: bulk Sender: pgsql-odbc-owner@postgresql.org On 10/05/16 15:40, Adrian Klaver wrote: > On 05/10/2016 06:52 AM, Mateusz Loskot wrote: >> On 10 May 2016 at 15:26, Inoue, Hiroshi >> wrote: >>> On 2016/05/10 16:56, Mateusz Loskot wrote: >>>> >>>> I use the psqlODBC 9.2.1 with unixODBC 2.2.14 on Ubuntu 14.04. >>>> Should I expect names of connection string parameters to be >>>> case-sensitive? >>>> >>>> For instance, if I try DSN-less connection with the following >>>> connection >>>> string passed to the ODBC API call SQLDriverConnect: >>>> >>>> "Driver={PostgreSQL >>>> ANSI};Server=127.0.0.1;Database=test;UID=test;PWD=test;" >>>> >>>> I get this error: >>>> >>>> [unixODBC][Driver Manager]Data source name not found, and no default >>>> driver specified >>> >>> >>> What rejects the connection is unixODBC driver manager not psqlodbc >>> driver. >>> Newer version of unixODBC may allow "Driver=....". >> >> I see, though, confusingly, in the same environment unixODBC >> accepts "Driver=" for MySQL connection. >> That is why I suspected psqlODBC. > > So what does the MySQL connection look like in its entirety? > > Also what are the *.ini file entries for the respective drivers? From the current unixODBC change log 26th-November-2011 2.3.1 * The keyword matching for DRIVER=, DSN= etc was case sensitive. Make it insensitive now -- Nick -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc