Uploaded image for project: 'MariaDB Connector/ODBC'
  1. MariaDB Connector/ODBC
  2. ODBC-188

Adding Windows ODBC DSN from command line via odbcconf.exe fails.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.5, 3.0.6
    • Fix Version/s: 3.0.7, 2.0.19
    • Component/s: General
    • Labels:
      None
    • Environment:
      Windows Server 2016
      Windows 10 Pro 1803

      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?

        Attachments

          Activity

            People

            Assignee:
            Lawrin Lawrin Novitsky
            Reporter:
            f.holdermann Florian Holdermann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration