MySQL Variables plugin_dir 数据库 参数变量解释及正确配置使用
本站中文解释
plugin_dir 是 MySQL引擎的配置参数,可以配置插件的安装路径,MySQL提供的插件有助于使用者更加自由地配置MySQL。要设置 plugin_dir,需要在my.ini文件中加入:
plugin_dir = 路径
如果某个插件安装在另一个特定位置,你可以指定该路径,即:
plugin_dir = 路径1;路径2;路径3;
并且,以分号为分隔符,将所有路径连接起来
官方英文解释
plugin_dir
Command-Line Format | --plugin-dir=dir_name |
---|---|
System Variable | plugin_dir |
Scope | Global |
Dynamic | No |
Type | Directory name |
Default Value | BASEDIR/lib/plugin |
The path name of the plugin directory.
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
. This can be prevented by making
... INTO DUMPFILE
plugin_dir
read only to the
server or by setting
secure_file_priv
to a
directory where SELECT
writes
can be made safely.