Hi,
I’m using Percona-Server-server-57-5.7.33-36.1.el7.x86_64
and audit plugin is in the following version
mysql> SELECT * FROM information_schema.PLUGINS WHERE PLUGIN_NAME LIKE '%audit%'\G
*************************** 1. row ***************************
PLUGIN_NAME: audit_log
PLUGIN_VERSION: 0.2
PLUGIN_STATUS: ACTIVE
PLUGIN_TYPE: AUDIT
PLUGIN_TYPE_VERSION: 4.1
PLUGIN_LIBRARY: audit_log.so
PLUGIN_LIBRARY_VERSION: 1.7
PLUGIN_AUTHOR: Percona LLC and/or its affiliates.
PLUGIN_DESCRIPTION: Audit log
PLUGIN_LICENSE: GPL
LOAD_OPTION: ON
1 row in set (0.02 sec)
I have around 20 application users and around 15 application servers where each application(user) may run and connect to a database. Thus the list is quite long.
I don’t want to audit those users so I put the list in audit_log_exclude_accounts in /etc/my.cnf file
Unfortunately mysql server is not starting, the following error is raised
[ERROR] unknown option '--56.68.27 [and more users (subsequent entries in audit_log_exclude_accounts) listed afterwards]
What I was able to spot is that if line size with audit_log_exclude_accounts (in /etc/my.cnf) is up to 4094 characters, the server starts properly.
Are there any limitations on audit_log_exclude_accounts maximum length?
Maybe it’s a general mysql system variable limitation?
Anyone had such an issue?
Regards,
Michał