Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b08ql-0005jg-8L for pgsql-odbc@arkaria.postgresql.org; Tue, 10 May 2016 14:41:27 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1b08qk-0003LL-JZ for pgsql-odbc@arkaria.postgresql.org; Tue, 10 May 2016 14:41:26 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1b08qN-0002wb-Lj for pgsql-odbc@postgresql.org; Tue, 10 May 2016 14:41:04 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1b08qC-00032u-02 for pgsql-odbc@postgresql.org; Tue, 10 May 2016 14:41:02 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id B829B20C25 for ; Tue, 10 May 2016 10:40:49 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute4.internal (MEProxy); Tue, 10 May 2016 10:40:49 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=aklaver.com; h=cc :content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=XK31pJl4p/5khWMpjP6hgB9f7js=; b=VeMVSR 5C6xBfBC5KDAUj5IgCTCu3FfLu6lV17N7EVRv+UnGNcjUSm6A0Iq41oh3xR0FlJt P53Kg6UsVSaStLrE3z1iU9xKXNYkNsPRmJiA++BtlxSGv/QVRPVlXB3f8YFUv/Rx ndcqCAqPH+I9leCfKZGXGEpi/OBqeoBgdJYF0= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=XK31pJl4p/5khWM pjP6hgB9f7js=; b=Abqvug1vBJUDihFOXHjcQH9E8rlctQ3Bs0da2mTSi/ypoqa nbVwHUyTZ6SMdBWMfIF/tNKqDTvLFU2mv8PT5izTsUXwmlSO8dJlPQCeZxMAweur pfgYuX/rkOvkb9C0TYYbRAUkotOj+WBLiEu1a+PDAZtHnW+z5gBLIDj8r1LA= X-Sasl-enc: i+F5h5xgCgxuQ6X0qcATZOnHTkOMh2L6MYT+ZOrQIQf4 1462891249 Received: from [192.168.1.2] (174-24-160-10.tukw.qwest.net [174.24.160.10]) by mail.messagingengine.com (Postfix) with ESMTPA id 1CD5B680178; Tue, 10 May 2016 10:40:49 -0400 (EDT) Subject: Re: Case-sensitivity of connection string parameters To: Mateusz Loskot , "Inoue, Hiroshi" References: <5731E16A.8020400@dream.email.ne.jp> Cc: pgsql-odbc@postgresql.org From: Adrian Klaver Message-ID: Date: Tue, 10 May 2016 07:40:48 -0700 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Thunderbird/45.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.7 (--) 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 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? > > 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