feat: update spigot version and disable mysql ssl
Signed-off-by: MiaoWoo <admin@yumc.pw>merge/16/MERGE
parent
1beb0e6de2
commit
1905bcedb9
2
pom.xml
2
pom.xml
|
@ -66,7 +66,7 @@
|
|||
<dependency>
|
||||
<groupId>org.spigotmc</groupId>
|
||||
<artifactId>spigot-api</artifactId>
|
||||
<version>1.12.2-R0.1-SNAPSHOT</version>
|
||||
<version>1.14.4-R0.1-SNAPSHOT</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<artifactId>gson</artifactId>
|
||||
|
|
|
@ -50,7 +50,8 @@ public class MySQLCore extends DataBaseCore {
|
|||
this.info.put("password", password);
|
||||
this.info.put("useUnicode", "true");
|
||||
this.info.put("characterEncoding", "utf8");
|
||||
this.url = "jdbc:mysql://" + host + ":" + port + "/" + dbname;
|
||||
this.info.put("useSSL", "false");
|
||||
this.url = "jdbc:mysql://" + host + ":" + port + "/" + dbname + "";
|
||||
try {
|
||||
Class.forName(driverName).newInstance();
|
||||
} catch (Exception e) {
|
||||
|
|
Loading…
Reference in New Issue