1.概述
mysql-monitor MYSQL 监控工具,优化工具,各种工具为一体的java spring boot 项目
git地址:https://github.com/lccbiluox2/mysql-monitor.git
2. 代码架构
3. 后端服务
后端服务的主类是com.neo.MySQLMointorApplication
3.1 后端服务的数据库
spring.datasource.driverClassName = com.mysql.jdbc.Driver
spring.datasource.url = jdbc:mysql://localhost:3306/mysql_monitor?useUnicode=true&characterEncoding=utf-8&useSSL=true
spring.datasource.username = root
spring.datasource.password = 12345678
这个根据自己的需要进行修改。
SQL运行的脚本在doc/sql/mysql_monitor.sql请先执行建表操作,然后运行主类。
4.前端服务
前端主页面:web-provider/html/database/database-list.html
因为是前后端分离,采用最原始的html+jquery+