Oracle 5.0 Reference Manual page 976

Table of Contents

Advertisement

This is the "RSA Data Security, Inc. MD5 Message-Digest Algorithm."
See the note regarding the MD5 algorithm at the beginning this section.
OLD_PASSWORD(str)
[956]
OLD_PASSWORD()
changed in MySQL 4.1 to improve security.
pre-4.1 implementation of
to reset passwords for any pre-4.1 clients that need to connect to your version 5.0 MySQL server
without locking them out. See
[956]
PASSWORD(str)
Calculates and returns a hashed password string from the plaintext password
binary string, or
NULL
used by the server to encrypt MySQL passwords for storage in the
The password hashing method used by
[480]
old_passwords
mysql>
SET old_passwords = 0;
mysql>
SELECT PASSWORD('mypass');
+-------------------------------------------+
| PASSWORD('mypass')
+-------------------------------------------+
| *6C8989366EAF75BB670AD8EA7A7FC1176A95CEF4 |
+-------------------------------------------+
mysql>
SET old_passwords = 1;
mysql>
SELECT PASSWORD('mypass');
+--------------------+
| PASSWORD('mypass') |
+--------------------+
| 6f8c114b58f2ce9e
+--------------------+
If old_passwords=1,
OLD_PASSWORD('str')
For descriptions of the permitted values of
System
Variables".
Encryption performed by
encryption as used for Unix passwords; for that, use
Note
The
in MySQL Server; you should not use it in your own applications. For that
purpose, consider
2195, section 2 (Challenge-Response Authentication Mechanism
for more information about handling passwords and authentication securely in
your applications.
Important
Statements that invoke
or in a history file such as ~/.mysql_history, which means that cleartext
passwords may be read by anyone having read access to that information.
See
[956],
SHA1(str)
Encryption and Compression Functions
[956]
was added when the implementation of
[956]
PASSWORD()
Section 6.1.2.4, "Password Hashing in
if the argument is NULL. This function is the SQL interface to the algorithm
PASSWORD()
system variable:
|
PASSWORD('str')
[956].
[956]
PASSWORD()
[956]
PASSWORD()
MD5()
PASSWORD()
Section 6.1.2, "Keeping Passwords
[956]
SHA(str)
956
PASSWORD()
[956]
OLD_PASSWORD()
as a binary string, and is intended to permit you
[956]
depends on the value of the
|
[956]
returns the same value as
[480], see
old_passwords
is one-way (not reversible). It is not the same type of
ENCRYPT()
function is used by the authentication system
[955]
or
[956]
SHA1()
[956]
may be recorded in server logs
Secure".
[956]
was
returns the value of the
MySQL".
and returns a
str
grant table.
mysql.user
Section 5.1.4, "Server
[955].
instead. Also see
RFC
(CRAM)),

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents