etc and var customers
This commit is contained in:
1
etc/mysql/conf.d/mysql.cnf
Normal file
1
etc/mysql/conf.d/mysql.cnf
Normal file
@@ -0,0 +1 @@
|
||||
[mysql]
|
||||
4
etc/mysql/conf.d/mysqldump.cnf
Normal file
4
etc/mysql/conf.d/mysqldump.cnf
Normal file
@@ -0,0 +1,4 @@
|
||||
[mysqldump]
|
||||
quick
|
||||
quote-names
|
||||
max_allowed_packet = 16M
|
||||
29
etc/mysql/mariadb.cnf
Normal file
29
etc/mysql/mariadb.cnf
Normal file
@@ -0,0 +1,29 @@
|
||||
# The MariaDB configuration file
|
||||
#
|
||||
# The MariaDB/MySQL tools read configuration files in the following order:
|
||||
# 0. "/etc/mysql/my.cnf" symlinks to this file, reason why all the rest is read.
|
||||
# 1. "/etc/mysql/mariadb.cnf" (this file) to set global defaults,
|
||||
# 2. "/etc/mysql/conf.d/*.cnf" to set global options.
|
||||
# 3. "/etc/mysql/mariadb.conf.d/*.cnf" to set MariaDB-only options.
|
||||
# 4. "~/.my.cnf" to set user-specific options.
|
||||
#
|
||||
# If the same option is defined multiple times, the last one will apply.
|
||||
#
|
||||
# One can use all long options that the program supports.
|
||||
# Run program with --help to get a list of available options and with
|
||||
# --print-defaults to see which it would actually understand and use.
|
||||
#
|
||||
# If you are new to MariaDB, check out https://mariadb.com/kb/en/basic-mariadb-articles/
|
||||
|
||||
#
|
||||
# This group is read both by the client and the server
|
||||
# use it for options that affect everything
|
||||
#
|
||||
[client-server]
|
||||
# Port or socket location where to connect
|
||||
# port = 3306
|
||||
socket = /run/mysqld/mysqld.sock
|
||||
|
||||
# Import all .cnf files from configuration directory
|
||||
!includedir /etc/mysql/conf.d/
|
||||
!includedir /etc/mysql/mariadb.conf.d/
|
||||
19
etc/mysql/mariadb.conf.d/50-client.cnf
Normal file
19
etc/mysql/mariadb.conf.d/50-client.cnf
Normal file
@@ -0,0 +1,19 @@
|
||||
#
|
||||
# This group is read by the client library
|
||||
# Use it for options that affect all clients, but not the server
|
||||
#
|
||||
|
||||
[client]
|
||||
# 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]
|
||||
22
etc/mysql/mariadb.conf.d/50-mysql-clients.cnf
Normal file
22
etc/mysql/mariadb.conf.d/50-mysql-clients.cnf
Normal file
@@ -0,0 +1,22 @@
|
||||
#
|
||||
# These groups are read by MariaDB command-line tools
|
||||
# Use it for options that affect only one utility
|
||||
#
|
||||
|
||||
[mysql]
|
||||
|
||||
[mysql_upgrade]
|
||||
|
||||
[mysqladmin]
|
||||
|
||||
[mysqlbinlog]
|
||||
|
||||
[mysqlcheck]
|
||||
|
||||
[mysqldump]
|
||||
|
||||
[mysqlimport]
|
||||
|
||||
[mysqlshow]
|
||||
|
||||
[mysqlslap]
|
||||
21
etc/mysql/mariadb.conf.d/60-galera.cnf
Normal file
21
etc/mysql/mariadb.conf.d/60-galera.cnf
Normal file
@@ -0,0 +1,21 @@
|
||||
#
|
||||
# * Galera-related settings
|
||||
#
|
||||
# See the examples of server wsrep.cnf files in /usr/share/mysql
|
||||
# and read more at https://mariadb.com/kb/en/galera-cluster/
|
||||
|
||||
[galera]
|
||||
# Mandatory settings
|
||||
#wsrep_on = ON
|
||||
#wsrep_cluster_name = "MariaDB Galera Cluster"
|
||||
#wsrep_cluster_address = gcomm://
|
||||
#binlog_format = row
|
||||
#default_storage_engine = InnoDB
|
||||
#innodb_autoinc_lock_mode = 2
|
||||
|
||||
# Allow server to accept connections on all interfaces.
|
||||
#bind-address = 0.0.0.0
|
||||
|
||||
# Optional settings
|
||||
#wsrep_slave_threads = 1
|
||||
#innodb_flush_log_at_trx_commit = 0
|
||||
1
etc/mysql/my.cnf
Symbolic link
1
etc/mysql/my.cnf
Symbolic link
@@ -0,0 +1 @@
|
||||
/etc/alternatives/my.cnf
|
||||
23
etc/mysql/my.cnf.fallback
Normal file
23
etc/mysql/my.cnf.fallback
Normal file
@@ -0,0 +1,23 @@
|
||||
#
|
||||
# The MySQL database server configuration file.
|
||||
#
|
||||
# You can copy this to one of:
|
||||
# - "/etc/mysql/my.cnf" to set global options,
|
||||
# - "~/.my.cnf" to set user-specific options.
|
||||
#
|
||||
# One can use all long options that the program supports.
|
||||
# Run program with --help to get a list of available options and with
|
||||
# --print-defaults to see which it would actually understand and use.
|
||||
#
|
||||
# For explanations see
|
||||
# http://dev.mysql.com/doc/mysql/en/server-system-variables.html
|
||||
|
||||
# This will be passed to all mysql clients
|
||||
# It has been reported that passwords should be enclosed with ticks/quotes
|
||||
# escpecially if they contain "#" chars...
|
||||
# Remember to edit /etc/mysql/debian.cnf when changing the socket location.
|
||||
|
||||
# Here is entries for some specific programs
|
||||
# The following values assume you have at least 32M ram
|
||||
|
||||
!includedir /etc/mysql/conf.d/
|
||||
Reference in New Issue
Block a user