Bug #106362 myodbc-installer.exe -s -l does not list Windows User DNS entries.
Submitted: 2 Feb 2022 21:51 Modified: 6 Feb 2022 8:22
Reporter: Kari Heinola Email Updates:
Status: Verified Impact on me:
None 
Category:Connector / ODBC Severity:S3 (Non-critical)
Version:8.0.28 OS:Windows
Assigned to: CPU Architecture:x86 (64-bit)

[2 Feb 2022 21:51] Kari Heinola
Description:
Seems that executing 'myodbc-installer.exe -s -l' does not list User DNS entries, only System DNS entries.

The myodbc-installer.exe help for option -c0 indicates that it can add both a user and a system data source entries.

Also, a minor issue, It does not return 32-bit entries, which is partially understandable as the version is 64-bit. But still, as at least I was using 'myodbc-installer.exe -s -l'  as a starting point for some connection string debugging, it should list all ODBC entries visible in Windows ODBC data source administrator regardless of whether they are usable or not.

How to repeat:
Open Windows 64-bit ODBC data source administrator and add User DNS entry for MySQL and then run 'myodbc-installer.exe -s -l' to see that the new entry is not listed.
[6 Feb 2022 8:22] MySQL Verification Team
Thank you for the report and feedback.