Comments - Audit parameters getting reset after MySQL DB restart
Content reproduced on this site is the property of its respective owners,
and this content is not reviewed in advance by MariaDB. The views, information and opinions
expressed by this content do not necessarily represent those of MariaDB or any other party.
As part of this automation, I do install the Audit Plugin dynamically and then enable few server_audit parameters.
Assuming you use our RPM packages, then you can do your automation like this:
/etc/my.cnf.d/server_audit.cnf
with your server_audit parametersIf you don't use our RPM packages, you can create
/etc/my.cnf.d
directory (or any other path you want) manually and add!includedir /etc/my.cnf.d
to your/etc/my.cnf
, then proceed as above.