[ODBC-334] Using the hostname for the server doesn't work in ODBC Data Source name Gui with MariaDB ODBC Created: 2021-08-05  Updated: 2021-08-08  Resolved: 2021-08-08

Status: Closed
Project: MariaDB Connector/ODBC
Component/s: General
Affects Version/s: None
Fix Version/s: 3.1.14

Type: Bug Priority: Major
Reporter: Anel Husakovic Assignee: Lawrin Novitsky
Resolution: Fixed Votes: 0
Labels: None
Environment:

Windows


Attachments: PNG File image-2021-08-05-18-02-33-772.png     PNG File image-2021-08-05-18-03-29-315.png     PNG File screenshot-1.png    

 Description   

When creating the ODBC DSN through gui, setting the server name to localhost or empty.

However when server system variable result is used it doesn't work (connection not etablished):

^^^ should work, right?
Also minor typo:



 Comments   
Comment by Lawrin Novitsky [ 2021-08-08 ]

It's rather "not a bug", since the port is 0, and that's why connection failed. But on other hand, there is no sense not to use default 3306 port in such case(and if Tcp/Ip) is selected. The fix has been pushed.

Generated at Thu Feb 08 03:27:56 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.