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

suggestion in distributed config file can break mysqlbinlog

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Confirmed (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 5.5, 10.1, 10.2, 10.3, 10.3.10, 10.4, 10.0
    • Fix Version/s: 10.1, 10.2, 10.3, 10.4, 10.0
    • Component/s: Configuration
    • Labels:
      None
    • Environment:
      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

            Assignee:
            serg Sergei Golubchik
            Reporter:
            hholzgra Hartmut Holzgraefe
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: