We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 75f943f commit 6012bb4Copy full SHA for 6012bb4
1 file changed
src/main/java/apijson/framework/APIJSONSQLConfig.java
@@ -122,6 +122,9 @@ public String gainDBUri() {
122
if (isOracle()) {
123
return "jdbc:oracle:thin:@localhost:1521:orcl"; //TODO 改成你自己的
124
}
125
+ if (isDoris()) {
126
+ return "jdbc:mysql://localhost:9030"; //TODO 改成你自己的,TiDB 可以当成 MySQL 使用,默认端口为 4000
127
+ }
128
return null;
129
130
@@ -138,6 +141,9 @@ public String gainDBAccount() {
138
141
139
142
return "scott"; //TODO 改成你自己的
140
143
144
145
+ return "root"; //TODO 改成你自己的
146
147
148
149
@@ -154,6 +160,9 @@ public String gainDBPassword() {
154
160
155
161
return "tiger"; //TODO 改成你自己的
156
162
163
164
+ return ""; //TODO 改成你自己的
165
157
166
158
167
159
168
0 commit comments