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

client tools and configuration files

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Not a Bug
    • Affects Version/s: 10.2
    • Fix Version/s: N/A
    • Component/s: Scripts & Clients
    • Labels:
      None

      Description

      command line tools read by default the client section from configuration file and exit with an error, if an entry is not supported.

      How to repeat:

      1) Using non C/C related configuration keywords

      my.cnf
      [client]
      default-character-set=utf8mb4

      georg@beethoven:~/work/mariadb/test$ ~/mariadb/bin/mysql -e"show variables like 'character_set_client'"
      +----------------------+---------+
      | Variable_name        | Value   |
      +----------------------+---------+
      | character_set_client | utf8mb4 |
      +----------------------+---------+
      georg@beethoven:~/work/mariadb/test$ ~/mariadb/bin/mysqlbinlog
      /home/georg/mariadb/bin/mysqlbinlog: unknown variable 'default-character-set=utf8mb4'
      
      

      2) Using Connector/C keywords

      my.cnf
      [client]
      #db is an alias for database
      db=test

      georg@beethoven:~/work/mariadb/test$ ~/mariadb/bin/mysql
      /home/georg/mariadb/bin/mysql: unknown variable 'db=test'
      

        Attachments

          Activity

            People

            Assignee:
            serg Sergei Golubchik
            Reporter:
            georg Georg Richter
            Votes:
            0 Vote for this issue
            Watchers:
            3 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.