File tree 1 file changed +9
-0
lines changed
APIJSON-Java-Server/APIJSONBoot-MultiDataSource/src/main/java/apijson/demo
1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -248,6 +248,9 @@ public String getDBUri() {
248
248
if (isMilvus ()) {
249
249
return "http://localhost:19530" ; //TODO 改成你自己的
250
250
}
251
+ //if (isManticore()) {
252
+ // return "jdbc:mysql://localhost:3306?characterEncoding=utf8&maxAllowedPacket=512000"; //TODO 改成你自己的
253
+ //}
251
254
// if (isIoTDB()) {
252
255
// return "jdbc:iotdb://localhost:6667"; // ?charset=GB18030 加参数会报错 URI 格式错误 //TODO 改成你自己的
253
256
// }
@@ -318,6 +321,9 @@ public String getDBAccount() {
318
321
if (isMilvus ()) {
319
322
return "root" ;
320
323
}
324
+ //if (isManticore()) {
325
+ // return "root";
326
+ //}
321
327
// if (isIoTDB()) {
322
328
// return "root";
323
329
// }
@@ -387,6 +393,9 @@ public String getDBPassword() {
387
393
if (isMilvus ()) {
388
394
return "apijson" ; //TODO 改成你自己的
389
395
}
396
+ //if (isManticore()) {
397
+ // return null;
398
+ //}
390
399
// if (isIoTDB()) {
391
400
// return "root";
392
401
// }
You can’t perform that action at this time.
0 commit comments