File tree Expand file tree Collapse file tree 2 files changed +49
-1
lines changed
Expand file tree Collapse file tree 2 files changed +49
-1
lines changed Original file line number Diff line number Diff line change 1+
2+ ---
3+
4+ ![ kafka-manager-logo] ( ../assets/images/common/logo_name.png )
5+
6+ ** 一站式` Apache Kafka ` 集群指标监控与运维管控平台**
7+
8+ ---
9+
10+ # 使用` MySQL 8 `
11+
12+ 感谢 [ herry-hu] ( https://github.com/herry-hu ) 提供的方案。
13+
14+
15+ 当前因为无法同时兼容` MySQL 8 ` 与` MySQL 5.7 ` ,因此代码中默认的版本还是` MySQL 5.7 ` 。
16+
17+
18+ 当前如需使用` MySQL 8 ` ,则续按照下述流程进行简单修改代码。
19+
20+
21+ - Step1. 修改application.yml中的MySQL驱动类
22+ ``` shell
23+
24+ # 将driver-class-name后面的驱动类修改为:
25+ # driver-class-name: com.mysql.jdbc.Driver
26+ driver-class-name: com.mysql.cj.jdbc.Driver
27+ ```
28+
29+
30+ - Step2. 修改MySQL依赖包
31+ ``` shell
32+ # 将根目录下面的pom.xml文件依赖的`MySQL`依赖包版本调整为
33+
34+ < dependency>
35+ < groupId> mysql< /groupId>
36+ < artifactId> mysql-connector-java< /artifactId>
37+ # <version>5.1.41</version>
38+ < version> 8.0.20< /version>
39+ < /dependency>
40+ ```
41+
Original file line number Diff line number Diff line change 1414- 3、登录失败?
1515- 4、页面流量信息等无数据?
1616- 5、如何对接夜莺的监控告警功能?
17+ - 6、如何使用` MySQL 8 ` ?
1718
1819---
1920
5859
5960### 5、如何对接夜莺的监控告警功能?
6061
61- - 参看 [ kafka-manager 对接夜莺监控] ( docs/dev_guide/intergration_n9e_monitor.md ) 说明。
62+ - 参看 [ kafka-manager 对接夜莺监控] ( ../dev_guide/Intergration_n9e_monitor.md ) 说明。
63+
64+ ---
65+
66+ ### 6、如何使用` MySQL 8 ` ?
67+
68+ - 参看 [ kafka-manager 使用` MySQL 8 ` ] ( ../dev_guide/use_mysql_8.md ) 说明。
You can’t perform that action at this time.
0 commit comments