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

Connector would connect to the socket if SERVER is specified as localhost on Linux

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • 3.1.12
    • General
    • None

    Description

      On linux, if SERVER is set to 'localhost'(and not to 127.0.0.1 or anything else) C/C will default to socket connection even if the port is set, which is confusing and far not always the socket is where C/C has default value for it.
      As a matter of fact, it maybe makes sense to force tcp/ip connection if port is specified, and socket is not. Looking at current documentation, this can be a better solution. TCPIP is said to be Windows only, and if socket is not specified, that's said it has to be tcp/ip connection

      Attachments

        Activity

          People

            Lawrin Lawrin Novitsky
            Lawrin Lawrin Novitsky
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.