From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Mateusz Loskot <mateusz@loskot.net>
To: Inoue, Hiroshi <h-inoue@dream.email.ne.jp>
Cc: pgsql-odbc@postgresql.org
Subject: Re: Case-sensitivity of connection string parameters
Date: Tue, 10 May 2016 07:40:48 -0700
Message-ID: <d2cb6590-5a25-5435-bdd4-92d729896c3b@aklaver.com> (raw)
In-Reply-To: <CABUeae9B=ATcne+hP9i77sAk3c1eysnag_7s1Z-t20eaE0Sjzg@mail.gmail.com>
References: <CABUeae-LLQXiR2dwir+qYPn-SDHM+h4h7DT8HVzrBpe+nJzyug@mail.gmail.com>
<5731E16A.8020400@dream.email.ne.jp>
<CABUeae9B=ATcne+hP9i77sAk3c1eysnag_7s1Z-t20eaE0Sjzg@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>
On 05/10/2016 06:52 AM, Mateusz Loskot wrote:
> On 10 May 2016 at 15:26, Inoue, Hiroshi <h-inoue@dream.email.ne.jp> 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?
>
> Regards,
>
--
Adrian Klaver
adrian.klaver@aklaver.com
--
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc
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: adrian.klaver@aklaver.com, mateusz@loskot.net, h-inoue@dream.email.ne.jp
Subject: Re: Case-sensitivity of connection string parameters
In-Reply-To: <d2cb6590-5a25-5435-bdd4-92d729896c3b@aklaver.com>
References: <CABUeae-LLQXiR2dwir+qYPn-SDHM+h4h7DT8HVzrBpe+nJzyug@mail.gmail.com> <5731E16A.8020400@dream.email.ne.jp> <CABUeae9B=ATcne+hP9i77sAk3c1eysnag_7s1Z-t20eaE0Sjzg@mail.gmail.com> <d2cb6590-5a25-5435-bdd4-92d729896c3b@aklaver.com>
* 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