MySQL的审计功能,主要可以记录下对数据库的所有操作,包括登录、连接、对表的增删改查等,便于责任追溯,问题查找,当然一定方面也会影响数据库效率。
根据 MySQL 版本的不同有两种分为企业版和社区版:
企业版 MySQL Enterprise Edition(收费)自带AUDIT审计功能。
社区版 MySQL Community Server(免费)需要自己下载插件
MySQL数据库开启审计功能
https://blog.csdn.net/weixin_39845407/article/details/81508843
MySQL 安装audit审计插件,开启安全审计
https://blog.csdn.net/qq_39014761/article/details/85029826
MySQL开启General Query Log,实现审计功能
https://blog.csdn.net/weixin_39845407/article/details/81508843
https://zhuanlan.zhihu.com/p/67608184
MySQL 企业版开启数据库审计
https://blog.csdn.net/JesseYoung/article/details/41116867
How To Rotate the MySQL Enterprise Audit Log Plugin Log Based On Size
https://www.thegeekdiary.com/how-to-rotate-the-mysql-enterprise-audit-log-plugin-log-based-on-size
How can I turn off mysql audit log while server is running?
https://stackoverflow.com/questions/32234343/how-can-i-turn-off-mysql-audit-log-while-server-is-running
利用第三方开源审计插件,实现MySQL审计日志
https://database.51cto.com/art/201901/589610.htm
https://blog.csdn.net/qq_41930193/article/details/82776159
MySQL审计工具Audit Plugin安装使用
https://www.cnblogs.com/waynechou/p/mysql_audit.html#_label0
MySQL审计开启的两种方法
https://yq.aliyun.com/articles/147568
关于MySQL AUDIT(审计)那点事
https://www.cnblogs.com/wclwcw/p/6933294.html
mcafee/mysql-audit
https://github.com/mcafee/mysql-audit/wiki/Configuration
mcafee / mysql-audit-plugin / release
https://bintray.com/mcafee/mysql-audit-plugin/release/1.1.4-725#files
mcafee/mysql-audit
https://github.com/mcafee/mysql-audit
MariaDB_5.x.x和MariaDB_10.x.x区别:
MariaDB_5.x.x:兼容MySQL5.x.x的,接口几乎一致,只限于社区版
MariaDB_10.x.x:10.x.x使用新技术,接口会与MySQL逐渐区别开来,向MariaDB新接口过渡
关于MySQL AUDIT(审计)那点事
https://www.cnblogs.com/wclwcw/p/6933294.html
MariaDB server_audit 审计插件
https://www.cnblogs.com/waynechou/p/mysql_audit.html#_label2
MySQL5.7审计功能windows系统
http://blog.itpub.net/31441024/viewspace-2213103
MySQL之MariaDB启用审计插件
https://www.dwhd.org/20160825_190911.html
How Do enable the MySQL audit using MariaDB Audit Plugin
http://www.serveridol.com/2017/02/27/how-do-enable-the-mysql-audit-using-mariadb-audit-plugin
MariaDB Audit Plugin - Log Settings
https://mariadb.com/kb/en/mariadb-audit-plugin-log-settings
MySQL Auditing With MariaDB Auditing Plugin
https://dzone.com/articles/mysql-auditing-with-mariadb-auditing-plugin
MySQL doesn't logs error to new file after rotating?
https://serverfault.com/questions/415774/mysql-doesnt-logs-error-to-new-file-after-rotating
Large General log file: How to clean up safely and stop it reoccuring
https://forums.cpanel.net/threads/large-general-log-file-how-to-clean-up-safely-and-stop-it-reoccuring.278392
MySQL Tutorial – Managing MySQL Server Logs: Rotate, Compress, Retain & Delete
https://scalegrid.io/blog/managing-mysql-server-logs-rotate-compress-retain-delete
Configure Logrotate To Rotate And Flush MySQL Logs Without A Password
https://www.question-defense.com/2009/12/20/configure-logrotate-to-rotate-and-flush-mysql-logs-without-a-password