File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
APIJSON-Java-Server/APIJSONBoot-MultiDataSource/src/main/java/apijson/demo Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -248,6 +248,9 @@ public String getDBUri() {
248248 if (isMilvus ()) {
249249 return "http://localhost:19530" ; //TODO 改成你自己的
250250 }
251+ //if (isManticore()) {
252+ // return "jdbc:mysql://localhost:3306?characterEncoding=utf8&maxAllowedPacket=512000"; //TODO 改成你自己的
253+ //}
251254 // if (isIoTDB()) {
252255 // return "jdbc:iotdb://localhost:6667"; // ?charset=GB18030 加参数会报错 URI 格式错误 //TODO 改成你自己的
253256 // }
@@ -318,6 +321,9 @@ public String getDBAccount() {
318321 if (isMilvus ()) {
319322 return "root" ;
320323 }
324+ //if (isManticore()) {
325+ // return "root";
326+ //}
321327 // if (isIoTDB()) {
322328 // return "root";
323329 // }
@@ -387,6 +393,9 @@ public String getDBPassword() {
387393 if (isMilvus ()) {
388394 return "apijson" ; //TODO 改成你自己的
389395 }
396+ //if (isManticore()) {
397+ // return null;
398+ //}
390399 // if (isIoTDB()) {
391400 // return "root";
392401 // }
You can’t perform that action at this time.
0 commit comments