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

client tools and configuration files

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Not a Bug
    • 10.2
    • N/A
    • Scripts & Clients
    • 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

            serg Sergei Golubchik
            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.