forked from github/dataease
fix: StarRocks、tidb 同步数据
This commit is contained in:
parent
9f3ef8e1f9
commit
0a9d2a8810
@ -872,6 +872,8 @@ public class ExtractDataService {
|
||||
case ds_doris:
|
||||
case mariadb:
|
||||
case mysql:
|
||||
case TiDB:
|
||||
case StarRocks:
|
||||
MysqlConfiguration mysqlConfiguration = new Gson().fromJson(datasource.getConfiguration(), MysqlConfiguration.class);
|
||||
dataMeta = new DatabaseMeta("db", "MYSQL", "Native", mysqlConfiguration.getHost().trim(), mysqlConfiguration.getDataBase().trim(), mysqlConfiguration.getPort().toString(), mysqlConfiguration.getUsername(), mysqlConfiguration.getPassword());
|
||||
dataMeta.addExtraOption("MYSQL", "characterEncoding", "UTF-8");
|
||||
|
Loading…
Reference in New Issue
Block a user