Server System Variables
480
This variable was used in MySQL 4.0 to turn on some 4.1 behaviors, and is retained for backward
compatibility. In MySQL 5.0, its value is always
OFF
.
•
old_passwords
[480]
Variable Name
old_passwords
Variable Scope
Global, Session
Dynamic Variable
Yes
This variable determines the type of password hashing performed by the
PASSWORD()
[956]
function and statements such as
CREATE USER
and
SET PASSWORD
. The value determines whether
or not to use “old” native MySQL password hashing. A value of 0 (or
OFF
) causes passwords to be
encrypted using the format available from MySQL 4.1 on. A value of 1 (or
ON
) causes password
encryption to use the older pre-4.1 format.
If
old_passwords=1
,
PASSWORD('str')
[956]
returns the same value as
OLD_PASSWORD('str')
[956]
.
For information about hashing formats, see
Section 6.1.2.4, “Password Hashing in MySQL”
.
•
one_shot
[480]
This is not a variable, but it can be used when setting some variables. It is described in
Section 13.7.4, “
SET
Syntax”
.
•
open_files_limit
[480]
Command-Line Format
--open-files-limit=#
Option-File Format
open-files-limit
Option Sets Variable
Yes,
open_files_limit
[480]
Variable Name
open_files_limit
Variable Scope
Global
Dynamic Variable
No
The number of files that the operating system permits
mysqld
to open. This is the real value
permitted by the system and might be different from the value you gave using the
--open-files-
limit
[417]
option to
mysqld
or
mysqld_safe
. The value is 0 on systems where MySQL cannot
change the number of open files.
•
optimizer_prune_level
[480]
Version Introduced
5.0.1
Command-Line Format
--optimizer_prune_level[=#]
Option-File Format
optimizer_prune_level
Option Sets Variable
Yes,
optimizer_prune_level
[480]
Variable Name
optimizer_prune_level
Variable Scope
Global, Session
Dynamic Variable
Yes
Permitted Values
Type
boolean
Default
1
Summary of Contents for 5.0
Page 1: ...MySQL 5 0 Reference Manual ...
Page 18: ...xviii ...
Page 60: ...40 ...
Page 396: ...376 ...
Page 578: ...558 ...
Page 636: ...616 ...
Page 844: ...824 ...
Page 1234: ...1214 ...
Page 1427: ...MySQL Proxy Scripting 1407 ...
Page 1734: ...1714 ...
Page 1752: ...1732 ...
Page 1783: ...Configuring Connector ODBC 1763 ...
Page 1793: ...Connector ODBC Examples 1773 ...
Page 1839: ...Connector Net Installation 1819 2 You must choose the type of installation to perform ...
Page 2850: ...2830 ...
Page 2854: ...2834 ...
Page 2928: ...2908 ...
Page 3000: ...2980 ...
Page 3122: ...3102 ...
Page 3126: ...3106 ...
Page 3174: ...3154 ...
Page 3232: ...3212 ...