Quantcast
Viewing all articles
Browse latest Browse all 147

Is there a way to disable mysql enterprise audit for a particular mysqldump/restore session

I am using mysql enterprise audit in our production, which is working perfectly fine. I have filter rule applied such that all table access queries are logged.However while dumping or restoring a large table, audit log gets bloated with selects/inserts commands from the dump. Can I disable the audit for that particular dump/restore session ? I am on mysql enterprise server 8.0.32.

I cannot use set global audit_log_disable=1; as it would disable audit log for all sessions. Also, I cannot exclude this account from logging, as someone may misuse this account for inserts(without being caught ofcourse :D)


Viewing all articles
Browse latest Browse all 147

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>