Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-26660

Command line clients don't work with Connector/C configuration files

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 10.6.4
    • Fix Version/s: None
    • Component/s: Scripts & Clients
    • Labels:
      None

      Description

      Since mysql command line clients use their own configuration file parser, it is not possible to add Connector/C specific options in e.g. client section

      Example:

      [client]
      reconnect=1
      ssl_enforce=1
      

      Starting command line client now ends up with an error:

      $ mysql
      mysql: [ERROR] unknown variable 'ssl_enforce=1'.
      

      Possible solutions:

      • read options via MariaDB Connector/C
      • ignore unknown keywords
      • support an additional default section [connector] in Connector/C which will contain key/value pairs only used by Connector/C.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            georg Georg Richter
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:

                Git Integration