[packages/mysql] enhance desc for old-passwords option
glen
glen at pld-linux.org
Wed Feb 18 11:23:49 CET 2015
commit 11bbf6644ff5a9c9a5c37ded5dbd1d2e7a517bfa
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Wed Feb 18 12:23:28 2015 +0200
enhance desc for old-passwords option
mysqld.conf | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
---
diff --git a/mysqld.conf b/mysqld.conf
index bb9b3a6..c50c0e5 100644
--- a/mysqld.conf
+++ b/mysqld.conf
@@ -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
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/mysql.git/commitdiff/11bbf6644ff5a9c9a5c37ded5dbd1d2e7a517bfa
More information about the pld-cvs-commit
mailing list