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

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.12
    • Component/s: General
    • Labels:
      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

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

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration