Set AutoCommit to true for MySQL.
Haven't really tested it, so not sure what it does.
This commit is contained in:
parent
932ae65417
commit
02a4e206cb
@ -149,7 +149,7 @@ public class JailIO {
|
||||
Connection mysqlConnection = DriverManager.getConnection("jdbc:mysql://" + pl.getConfig().getString("storage.mysql.host") + ":"
|
||||
+ pl.getConfig().getString("storage.mysql.port") + "/"
|
||||
+ pl.getConfig().getString("storage.mysql.database"), pl.getConfig().getString("storage.mysql.username"), pl.getConfig().getString("storage.mysql.password"));
|
||||
mysqlConnection.setAutoCommit(false);
|
||||
mysqlConnection.setAutoCommit(true);
|
||||
this.con = mysqlConnection;
|
||||
pl.debug("Connection created for MySQL.");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user