mirror of
https://e.coding.net/circlecloud/YumCore.git
synced 2024-11-24 02:08:48 +00:00
feat: update spigot version and disable mysql ssl
Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
parent
1beb0e6de2
commit
1905bcedb9
2
pom.xml
2
pom.xml
@ -66,7 +66,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.spigotmc</groupId>
|
<groupId>org.spigotmc</groupId>
|
||||||
<artifactId>spigot-api</artifactId>
|
<artifactId>spigot-api</artifactId>
|
||||||
<version>1.12.2-R0.1-SNAPSHOT</version>
|
<version>1.14.4-R0.1-SNAPSHOT</version>
|
||||||
<exclusions>
|
<exclusions>
|
||||||
<exclusion>
|
<exclusion>
|
||||||
<artifactId>gson</artifactId>
|
<artifactId>gson</artifactId>
|
||||||
|
@ -50,7 +50,8 @@ public class MySQLCore extends DataBaseCore {
|
|||||||
this.info.put("password", password);
|
this.info.put("password", password);
|
||||||
this.info.put("useUnicode", "true");
|
this.info.put("useUnicode", "true");
|
||||||
this.info.put("characterEncoding", "utf8");
|
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 {
|
try {
|
||||||
Class.forName(driverName).newInstance();
|
Class.forName(driverName).newInstance();
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
Loading…
Reference in New Issue
Block a user