Commit c5af0b53 authored by alex yao's avatar alex yao

feat: 数据库列表按修改时间倒序

parent 0d79b105
...@@ -21,7 +21,7 @@ public class DatabaseUtil { ...@@ -21,7 +21,7 @@ public class DatabaseUtil {
private static final String DRIVER_NAME = "com.mysql.jdbc.Driver"; private static final String DRIVER_NAME = "com.mysql.jdbc.Driver";
private static final int CONNECT_TIMEOUT = 5000; // 连接超时时间(毫秒) private static final int CONNECT_TIMEOUT = 30000; // 连接超时时间(毫秒)
private static final int SOCKET_TIMEOUT = 30000; // socket超时时间(毫秒) private static final int SOCKET_TIMEOUT = 30000; // socket超时时间(毫秒)
......
...@@ -24,11 +24,11 @@ public class DatabaseUtilTest { ...@@ -24,11 +24,11 @@ public class DatabaseUtilTest {
@Test @Test
public void test_connection() { public void test_connection() {
String host = "192.168.21.31"; String host = "111.230.74.77";
int port = 3306; int port = 3306;
String username = "poc_root"; String username = "root";
String password = "8db58a2836dc"; String password = "Cdhit2fF@3210fd";
String database = "gsst_poc_sit"; String database = "bi";
System.out.println(DatabaseUtil.testConnect(host, port, username, password, database)); System.out.println(DatabaseUtil.testConnect(host, port, username, password, database));
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment