Changing permissions on auditing files

After enabling auditing plugin, the log file owner is being 'mysql' if I set 'server_audit_output_type' variable to FILE. However, if I set 'server_audit_output_type' variable to SYSLOG, it's owner is being 'root'. Is there a way to identify any user as the owner of the log file instead of root or mysql? Thanks for your helping.

Answer Answered by Faustin Lammler in this comment.

Hi, thanks for your question.

Did you take a look at and

The last documentation will help you to configure mariadb server to run under another user (and log file owner).

BTW, can I ask you why you would change the owner of the log file?




Comments loading...
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.