summaryrefslogtreecommitdiffstats
path: root/roles/common-SQL/files/etc/mysql/my.cnf
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2015-07-19 14:19:23 +0200
committerGuilhem Moulin <guilhem@fripost.org>2015-07-19 14:19:27 +0200
commit262952e50d13b1cb533dd337cd6d0b726b297b4e (patch)
treeff741ee8f7690bf9f4d1d00dcc87f86620687126 /roles/common-SQL/files/etc/mysql/my.cnf
parent688c1e4ba0c055d62c615bf058976167aed80126 (diff)
Use full name rather than prefix for MySQL option 'key_buffer_size'.
[Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
Diffstat (limited to 'roles/common-SQL/files/etc/mysql/my.cnf')
-rw-r--r--roles/common-SQL/files/etc/mysql/my.cnf4
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/common-SQL/files/etc/mysql/my.cnf b/roles/common-SQL/files/etc/mysql/my.cnf
index 0d6aa8a..909236d 100644
--- a/roles/common-SQL/files/etc/mysql/my.cnf
+++ b/roles/common-SQL/files/etc/mysql/my.cnf
@@ -35,41 +35,41 @@ nice = 0
user = mysql
pid-file = /var/run/mysqld/mysqld.pid
socket = /var/run/mysqld/mysqld.sock
plugin-load = auth_socket=auth_socket.so
port = 3306
basedir = /usr
datadir = /var/lib/mysql
tmpdir = /tmp
lc-messages-dir = /usr/share/mysql
character_set_server = utf8
collation_server = utf8_unicode_ci
skip-external-locking
#
# Instead of skip-networking the default is now to listen only on
# localhost which is more compatible and is not less secure.
#bind-address = 127.0.0.1
skip-networking
#
# * Fine Tuning
#
-key_buffer = 16M
+key_buffer_size = 16M
max_allowed_packet = 16M
thread_stack = 192K
thread_cache_size = 8
# This replaces the startup script and checks MyISAM tables if needed
# the first time they are touched
myisam-recover = BACKUP
#max_connections = 100
#table_cache = 64
#thread_concurrency = 10
#
# * Query Cache Configuration
#
query_cache_limit = 1M
query_cache_size = 16M
#
# * Logging and Replication
#
# Both location gets rotated by the cronjob.
# Be aware that this log type is a performance killer.
# As of 5.1 you can enable the log at runtime!
@@ -103,27 +103,27 @@ max_binlog_size = 100M
# Read the manual, too, if you want chroot!
# chroot = /var/lib/mysql/
#
# For generating SSL certificates I recommend the OpenSSL GUI "tinyca".
#
# ssl-ca=/etc/mysql/cacert.pem
# ssl-cert=/etc/mysql/server-cert.pem
# ssl-key=/etc/mysql/server-key.pem
[mysqldump]
quick
quote-names
max_allowed_packet = 16M
[mysql]
#no-auto-rehash # faster start of mysql but no tab completition
[isamchk]
-key_buffer = 16M
+key_buffer_size = 16M
#
# * IMPORTANT: Additional settings that can override those from this file!
# The files must end with '.cnf', otherwise they'll be ignored.
#
!includedir /etc/mysql/conf.d/