]> git.pld-linux.org Git - packages/percona-server.git/blobdiff - mysqld.conf
use mysql_sysadmin for slave status checks as well
[packages/percona-server.git] / mysqld.conf
index 632ab021bc3a02f917212b7300542fffe7e3e994..6320c0771c7bb52e6db71e5b82a5aa900346cc76 100644 (file)
@@ -22,8 +22,17 @@ user        = mysql
 #collation-server=latin2_general_ci
 #skip-character-set-client-handshake
 
-# Use passwords compatible with old 4.0 mysqld
-#old-passwords
+# This variable controls the password hashing method used by the PASSWORD()
+# function. It also influences password hashing performed by CREATE USER and
+# GRANT statements that specify a password using an IDENTIFIED BY clause.
+# http://dev.mysql.com/doc/refman/5.6/en/server-system-variables.html#sysvar_old_passwords
+# Value | Password Hashing Method  | Associated Authentication Plugin
+#   0   | MySQL 4.1 native hashing | mysql_native_password
+#   1   | Pre-4.1 ("old") hashing  | mysql_old_password
+#   2   | SHA-256 hashing          | sha256_password
+# If you set old_passwords=2, follow the instructions for using the sha256_password plugin at
+# http://dev.mysql.com/doc/refman/5.6/en/sha256-authentication-plugin.html
+#old-passwords=0
 
 # Don't use system locking
 skip-external-locking
@@ -121,7 +130,7 @@ log-warnings = 2
 
 # Log slow queries
 slow-query-log
-slow-query-log_file = /var/log/mysql/slow.log
+slow-query-log-file = /var/log/mysql/slow.log
 
 # Log connections and queries. It slows down MySQL so it's disabled by default
 #general-log
@@ -170,8 +179,8 @@ slow-query-log_file = /var/log/mysql/slow.log
 #max_heap_table_size=32M
 #thread_cache_size=16
 #thread_stack=65536
-# Try number of CPU's*2
-#thread_concurrency=8
+# http://www.mysqlperformanceblog.com/2012/06/04/thread_concurrency-doesnt-do-what-you-expect/
+# thread_concurrency is deprecated, removed in 5.6.1 and works on old Solaris versions < 9
 #wait_timeout=28800
 #query_cache_size=8M
 #query_cache_limit=1M
@@ -224,12 +233,7 @@ innodb_log_buffer_size=1M
 #innodb_file_io_threads=4
 #innodb_lock_wait_timeout=50
 
-# used for logs rotation
-[mysqladmin]
+# used for logs rotation or status check for replications
+[client]
 user        = mysql_sysadmin
 password    =
-
-# used by initscript to fetch slave status
-[mysql]
-user        = mysql
-password    =
This page took 0.172308 seconds and 4 git commands to generate.