Comments - Audit parameters getting reset after MySQL DB restart

8 years, 1 month ago Sergei Golubchik

Assuming you use our RPM packages, then you can do your automation like this:

  1. start the server
  2. create /etc/my.cnf.d/server_audit.cnf with your server_audit parameters
  3. install the audit plugin dynamically — it will read parameters from the file all right, you won't need to configure them run-time.

If 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.

 
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.