AE86 4 years ago
parent
commit
962ded8f15

+ 1 - 1
dbsyncer-parser/src/main/resources/Connector.json

@@ -8,7 +8,7 @@
   "config": {
     "connectorType": "Mysql",
     "driverClassName": "com.mysql.jdbc.Driver",
-    "url": "jdbc:mysql://127.0.0.1:3306/test?rewriteBatchedStatements=true&seUnicode=true&characterEncoding=UTF8&useSSL=true",
+    "url": "jdbc:mysql://127.0.0.1:3306/test?rewriteBatchedStatements=true&seUnicode=true&characterEncoding=UTF8&serverTimezone=UTC&useSSL=false&verifyServerCertificate=false",
     "username": "root",
     "password": "123"
   }

+ 0 - 5
dbsyncer-web/src/main/java/org/dbsyncer/web/config/WebAppConfig.java

@@ -52,11 +52,6 @@ public class WebAppConfig extends WebSecurityConfigurerAdapter implements Authen
      */
     private static final String LOGIN_PAGE = "/login.html";
 
-    /**
-     * 404页面
-     */
-    private static final String ERROR_404_PAGE = "/404.html";
-
     /**
      * 每个帐号允许同时登录会话数, 默认同一个帐号只能在一个地方登录
      */