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

suggestion in distributed config file can break mysqlbinlog

    XMLWordPrintable

Details

    • Bug
    • Status: Confirmed (View Workflow)
    • Minor
    • Resolution: Unresolved
    • 5.5, 10.0, 10.1, 10.3.10, 10.2, 10.3, 10.4
    • 10.4
    • Configuration
    • None
    • Ubuntu

    Description

      The Ubuntu packages come with this snippet in /etc/mysql/mariadb.cnf:

      [client]
      # Default is Latin1, if you need UTF-8 set this (also in server section)
      # default-character-set = utf8
      

      When actually enabling the default character set option by removing the "#" comment sign mysqlbinlog stops working though, as it reads the [client] section, but does not have a --default-character-set option:

      mysqlbinlog mariadb-bin.000001 
      mysqlbinlog: unknown variable 'default-character-set=utf8'
      

      Possible fixes:

      • explicitly rename the section from [client] to [mysql]
      • add the "loose-" prefix, so that the option gets ignored by binaries that do not have it

      Attachments

        Activity

          People

            serg Sergei Golubchik
            hholzgra Hartmut Holzgraefe
            Votes:
            0 Vote for this issue
            Watchers:
            2 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.