6.1.4 与安全性相关的 mysqld 选项和变量

下 table 显示了影响安全性的mysqld选项和系统变量。有关每一个的描述,请参见第 5.1.6 节“服务器命令选项”第 5.1.7 节“服务器系统变量”

table6.1 安全选项和变量摘要

NameCmd-LineOption FileSystem VarStatus VarVar ScopeDynamic
allow-suspicious-udfsYesYes
automatic_sp_privilegesYesYesYesGlobalYes
chrootYesYes
des-key-fileYesYes
local_infileYesYesYesGlobalYes
old_passwordsYesYesYesBothYes
safe-user-createYesYes
secure_authYesYesYesGlobalYes
secure_file_privYesYesYesGlobalNo
skip-grant-tablesYesYes
skip_name_resolveYesYesYesGlobalNo
skip_networkingYesYesYesGlobalNo
skip_show_databaseYesYesYesGlobalNo