/etc/mysql/debian.cnf - Ubuntu 16.04 LTS (Xenial Xerus)

This is the default example configuration of debian.cnf provided by MariaDB. This config file was generated by MariaDB running on Ubuntu 16.04.

It is located under: /etc/mysql/debian.cnf

    # Automatically generated for Debian scripts. DO NOT TOUCH!
[client]
host     = localhost
user     = root
password = 
socket   = /var/run/mysqld/mysqld.sock
[mysql_upgrade]
host     = localhost
user     = root
password = 
socket   = /var/run/mysqld/mysqld.sock
basedir  = /usr

    
  

Config Details

Location
/etc/mysql/debian.cnf
Operating system
Ubuntu 16.04 LTS (Xenial Xerus)
Length
12 lines
MD5 checksum
e74d0ae25187a10dee287db95dfc05a4

Usage

Download the raw file with wget or curl

Wget

wget -O debian.cnf.example http://exampleconfig.com/static/raw/mariadb/ubuntu16.04/etc/mysql/debian.cnf

cURL

curl http://exampleconfig.com/static/raw/mariadb/ubuntu16.04/etc/mysql/debian.cnf > debian.cnf.example