[ODBC-188] Adding Windows ODBC DSN from command line via odbcconf.exe fails. Created: 2018-10-01 Updated: 2018-10-17 Resolved: 2018-10-17 |
|
| Status: | Closed |
| Project: | MariaDB Connector/ODBC |
| Component/s: | General |
| Affects Version/s: | 3.0.5, 3.0.6 |
| Fix Version/s: | 3.0.7, 2.0.19 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Florian Holdermann | Assignee: | Lawrin Novitsky |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Windows Server 2016 |
||
| Description |
|
I am using MariaDB Connector/ODBC 3.0.5 and trying to add a Windows ODBC DSN from command line with the following syntax: odbcconf.exe CONFIGSYSDSN "MariaDB ODBC 3.0 Driver" "DSN=test|CONN_TIMEOUT=0|DATABASE=test|PORT=3306|SERVER=testserver" But instead of creating a DSN it just shows the DSN configuration dialog. Also calling SQLConfigDataSource from odbccp32.dll with the above drivers results in the same behaviour. Am I missing parameters or is this way of creating a Windows ODBC DSN not supported? |
| Comments |
| Comment by Lawrin Novitsky [ 2018-10-17 ] |
|
The patch has been pushed to master and odbc-3.0 as 1e3184f. |