This is the default example configuration of 50-client.cnf provided by MariaDB. This config file was generated by MariaDB running on Ubuntu 16.04.
It is located under: /etc/mysql/mariadb.conf.d/50-client.cnf
#
# This group is read by the client library
# Use it for options that affect all clients, but not the server
#
[client]
# Default is Latin1, if you need UTF-8 set this (also in server section)
default-character-set = utf8mb4
# 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]
Download the raw file with wget or curl
wget -O 50-client.cnf.example http://exampleconfig.com/static/raw/mariadb/ubuntu16.04/etc/mysql/mariadb.conf.d/50-client.cnf
curl http://exampleconfig.com/static/raw/mariadb/ubuntu16.04/etc/mysql/mariadb.conf.d/50-client.cnf > 50-client.cnf.example
Other config files you might find useful