[manager,home,collector]feature:支持mariadb监控类型 (#11)
This commit is contained in:
@@ -248,6 +248,7 @@ public class JdbcCommonCollect extends AbstractCollect {
|
||||
String url;
|
||||
switch (jdbcProtocol.getPlatform()) {
|
||||
case "mysql":
|
||||
case "mariadb":
|
||||
url = "jdbc:mysql://" + jdbcProtocol.getHost() + ":" + jdbcProtocol.getPort()
|
||||
+ "/" + (jdbcProtocol.getDatabase() == null ? "" : jdbcProtocol.getDatabase())
|
||||
+ "?useUnicode=true&characterEncoding=utf-8&useSSL=false";
|
||||
|
||||
Reference in New Issue
Block a user