我已经使用以下设置设置了Percona-server-5.6.41-89审计插件:
audit_log_policy=QUERIES
audit_log_handler=FILE
audit_log_file=/var/log/mysql/perc_audit.txt
audit_log_format=CSV
audit_log_rotate_on_size=1000000000
audit_log_rotations=9
audit_log_include_accounts=someuser@%现在,由于某种原因,没有对配置的帐户执行审计。我试过SET GLOBAL audit_log_include_accounts="'someuser'@'%'";,但没有成功。
如何设置audit_log_include_accounts参数,使其在主机部件中包含通配符?
发布于 2018-11-30 06:50:02
分辨率是SET GLOBAL audit_log_include_accounts='someuser@'; --没有定义的主机部分,但使用了@。
https://dba.stackexchange.com/questions/223723
复制相似问题