Get the default configuration file client.cnf for MariaDB, optimized for CentOS Linux 7. This example configuration ensures optimal compatibility and performance for MariaDB, making it easy to set up and adjust to meet your needs.
Find and download the configuration file here: /etc/my.cnf.d/client.cnf.
For more configurations and setup guides, visit our related files section to further customize your system.
#
# These two groups are read by the client library
# Use it for options that affect all clients, but not the server
#
[client]
# This group is not read by mysql client library,
# 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 client.cnf.example https://exampleconfig.com/static/raw/mariadb/centos7/etc/my.cnf.d/client.cnf
curl https://exampleconfig.com/static/raw/mariadb/centos7/etc/my.cnf.d/client.cnf > client.cnf.example
Other config files you might find useful