diff --git a/DB_OSInspection b/DB_OSInspection deleted file mode 100644 index 04046acf81f03a1fcefb5b959cba24f2a3aa13dc..0000000000000000000000000000000000000000 Binary files a/DB_OSInspection and /dev/null differ diff --git a/DB_OSInspection.exe b/DB_OSInspection.exe deleted file mode 100644 index 51697579b1e0cf42153d8b3cbcbbb3bd64310785..0000000000000000000000000000000000000000 Binary files a/DB_OSInspection.exe and /dev/null differ diff --git a/README.md b/README.md index 4758b02356d9f1d72d77e06e5fed25fab58e9b54..f4f576869fe6585d63bf5a11ddf807978e75c166 100644 --- a/README.md +++ b/README.md @@ -6,37 +6,33 @@ ![输入图片说明](Menu/%E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87_20230329094139.png) # 数据库巡检工具 DB OSInspection ## 简介: -DB OSInspection 数据库巡检工具,实现对数据库一键巡检,对实例有大概了解。 -## 愿景 -一秒了解数据库 +DB_OSInspection 数据库巡检工具,实现对数据库一秒巡检,对实例有大概了解。 +该工具具有简单易用、高效准确等特点,非常适合运维人员和开发人员使用。 +## 下载 + +- [V1.2 Windows版本](https://gitee.com/KAITOO/db_-osinspection/releases/download/V1.2/DB_OSInspection.exe) +- [V1.2 Linux版本](https://gitee.com/KAITOO/db_-osinspection/releases/download/V1.2/DB_OSInspection) ## 快速上手 ```go -Windows环境下可直接使用,不能保存巡检结果 +Windows环境下可直接使用,不能保存巡检结果 ./DB_OSInspection -u 用户名 -p 密码 -#再Linux环境下保存巡检结果可以用 +在Linux环境下保存巡检结果可以用 ./DB_OSInspection -u 用户名 -p 密码 >err.log -#监测模式 +监测模式 ./DB_OSInspection -u 用户名 -p 密码 -m monitor ``` -即可实现全表巡检 ### 参数解析 **所有输入后面都需要跟空格,否则会错误** -- -u -输入用户名 默认为root -- -p -输入密码 -- -nw -输入链接模式 默认为tcp -- -P -输入IP号和端口号 默认为localhost:3306 +- -u 输入用户名 默认为root +- -p 输入密码 +- -nw 输入链接模式 默认为tcp 一般不修改 +- -P 输入IP号和端口号 默认为localhost:3306 - -m 模式默认选择all全部巡检、table只巡检表、index只巡检索引、variables只巡检重要参数、status只巡检重要状态、user只巡检用户、privileges只巡检权限、monitor实现数据库监控 -- -v -输出版本号 -- -h -输出帮助 +- -v 输出版本号 +- -h 输出帮助 ## 已实现功能 ### 实现数据库监控可实时输出 -m 选择monitor 模式即可 @@ -86,4 +82,5 @@ Windows环境下可直接使用,不能保存巡检结果 ### 用户检查 - 无密码用户 - %用户 -### 权限检查 \ No newline at end of file +### 权限检查 +- 根据检出来的用户检查权限 \ No newline at end of file