title: mysqlbinlog: unknown variable 'default-character-set=utf8mb4'
body: <p>When launching mysqlbinlog it returns an error:</p>
  <pre><code>root@utils # mysqlbinlog --start-datetime=&quot;2021-12-05 13:13:00&quot;
  mysqlbinlog: unknown variable 'default-character-set=utf8mb4'
  </code></pre>
  <p>How to fix it?</p>
  <p>Maybe, it related to the contents of /etc/mysql/mariadb.conf.d/50-client.cnf which is:</p>
  <pre><code>[client]
  # Default is Latin1, if you need UTF-8 set this (also in server section)
  default-character-set = utf8mb4
  
  # socket location
  socket = /var/run/mysqld/mysqld.sock
  
  # Example of client certificate usage
  # ssl-cert=/etc/mysql/client-cert.pem
  # ssl-key=/etc/mysql/client-key.pem
  #
  # Allow only TLS encrypted connections
  # ssl-verify-server-cert=on
  
  # This group is *never* read by mysql client library, though this
  # /etc/mysql/mariadb.cnf.d/client.cnf file is not read by Oracle MySQL
  # client anyway.
  # If you use the same .cnf file for MySQL and MariaDB,
  # use it for MariaDB-only client options
  [client-mariadb]
  </code></pre>
  <p>The server configuration is:</p>
  <pre><code>Server version: 10.3.31-MariaDB-0ubuntu0.20.04.1-log Ubuntu 20.04
  </code></pre>