Java 11 + Fix SSL warning for DB connection
This commit is contained in:
parent
ac78be7efc
commit
96753f4a30
@ -23,6 +23,7 @@ public class DBConnection {
|
|||||||
url = "jdbc:mysql://" + host + ":" + port + "/" + dbname
|
url = "jdbc:mysql://" + host + ":" + port + "/" + dbname
|
||||||
+ "?autoReconnect=true"
|
+ "?autoReconnect=true"
|
||||||
+ "&useUnicode=true"
|
+ "&useUnicode=true"
|
||||||
|
+ "&useSSL=false"
|
||||||
+ "&characterEncoding=utf8"
|
+ "&characterEncoding=utf8"
|
||||||
+ "&characterSetResults=utf8"
|
+ "&characterSetResults=utf8"
|
||||||
+ "&character_set_server=utf8mb4"
|
+ "&character_set_server=utf8mb4"
|
||||||
|
Loading…
Reference in New Issue
Block a user