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

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • 10.6.4
    • None
    • Scripts & Clients
    • 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

            Unassigned Unassigned
            georg Georg Richter
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

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