https://github.com/ac0d3r/mysqlmonitor
监控 MySQL 执行语句并实时打印的工具 🤖️
https://github.com/ac0d3r/mysqlmonitor
mysql security-tools
Last synced: about 2 months ago
JSON representation
监控 MySQL 执行语句并实时打印的工具 🤖️
- Host: GitHub
- URL: https://github.com/ac0d3r/mysqlmonitor
- Owner: ac0d3r
- License: gpl-3.0
- Created: 2020-11-22T14:35:33.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-04-14T01:33:44.000Z (about 2 years ago)
- Last Synced: 2025-03-23T06:41:34.975Z (2 months ago)
- Topics: mysql, security-tools
- Language: Go
- Homepage:
- Size: 5.9 MB
- Stars: 138
- Watchers: 0
- Forks: 15
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MySQLMonitor
> 监控 MySQL 实时打印执行语句(审计的好帮手https://www.bilibili.com/video/BV1f44y1b7hW

- 监听 `general_log_file` 日志文件(效率高,结果准确,不会遗漏执行语句) 🚀
- 结束时会关闭 general_log 并且清空日志文件 🙈
- 执行正确以及错误的SQL语句都会被打印(mysql8.0以及高版本自动开启log_raw=1