|
|
|
@ -54,8 +54,8 @@ public final class EcoCraftCore extends JavaPlugin { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private void prepareDatabase() throws SQLException { |
|
|
|
private void prepareDatabase() throws SQLException { |
|
|
|
String databaseUrl = "jdbc:mysql://localhost:3306/ecc"; |
|
|
|
String databaseUrl = "jdbc:mysql://soukup.xyz:3306/ecc"; |
|
|
|
connectionSource = new JdbcConnectionSource(databaseUrl, "ecc", ""); |
|
|
|
connectionSource = new JdbcConnectionSource(databaseUrl, "ecc", "ecc "); |
|
|
|
Logger.getLogger("com.j256.ormlite.table.TableUtils").setLevel(Level.OFF); |
|
|
|
Logger.getLogger("com.j256.ormlite.table.TableUtils").setLevel(Level.OFF); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|