Re: Case-sensitivity of connection string parameters

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Mateusz Loskot <mateusz(at)loskot(dot)net>, "Inoue, Hiroshi" <h-inoue(at)dream(dot)email(dot)ne(dot)jp>
Cc: pgsql-odbc(at)postgresql(dot)org
Subject: Re: Case-sensitivity of connection string parameters
Date: 2016-05-10 14:40:48
Message-ID: d2cb6590-5a25-5435-bdd4-92d729896c3b@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

On 05/10/2016 06:52 AM, Mateusz Loskot wrote:
> On 10 May 2016 at 15:26, Inoue, Hiroshi <h-inoue(at)dream(dot)email(dot)ne(dot)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(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Nick Gorham 2016-05-10 14:50:12 Re: Case-sensitivity of connection string parameters
Previous Message Mateusz Loskot 2016-05-10 13:52:17 Re: Case-sensitivity of connection string parameters