Server System Variables
482
The path name of the plugin directory. This variable was added in MySQL 5.0.67. If the value is
nonempty, user-defined function object files must be located in this directory. If the value is empty,
the behavior that is used before 5.0.67 applies: The UDF object files must be located in a directory
that is searched by your system's dynamic linker.
If the plugin directory is writable by the server, it may be possible for a user to write executable code
to a file in the directory using
SELECT ... INTO DUMPFILE
. This can be prevented by making
plugin_dir
[481]
read only to the server or by setting
--secure-file-priv
[419]
to a
directory where
SELECT
writes can be made safely.
•
port
[482]
Command-Line Format
--port=#
-P
Option-File Format
port
Option Sets Variable
Yes,
port
[482]
Variable Name
port
Variable Scope
Global
Dynamic Variable
No
Permitted Values
Type
numeric
Default
3306
Range
0 .. 65535
The number of the port on which the server listens for TCP/IP connections. This variable can be set
with the
--port
[417]
option.
•
preload_buffer_size
[482]
Command-Line Format
--preload_buffer_size=#
Option-File Format
preload_buffer_size
Option Sets Variable
Yes,
preload_buffer_size
[482]
Variable Name
preload_buffer_size
Variable Scope
Global, Session
Dynamic Variable
Yes
Permitted Values
Type
numeric
Default
32768
Range
1024 .. 1073741824
The size of the buffer that is allocated when preloading indexes.
•
prepared_stmt_count
[482]
Version Introduced
5.0.21
Version Removed
5.0.31
Variable Name
prepared_stmt_count
Variable Scope
Global
Dynamic Variable
No
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 ...