Archived
0

Add files via upload

Changed mySQL data class
This commit is contained in:
Prot-CN
2019-01-30 05:24:59 +06:00
committed by GitHub
parent 397b2d315f
commit b2b296ed3c

View File

@@ -1 +1,17 @@
package ru.prisonlife.PrisonAPI.connect;
import com.mysql.fabric.jdbc.FabricMySQLDriver;
import java.sql.*;
public class DataBasePrison4Life {
protected Driver driver;
protected Connection connection;
{ try {
driver = new FabricMySQLDriver();
DriverManager.registerDriver(driver);
connection = DriverManager.getConnection(
"url",
"user", "password");
} catch (SQLException e) { e.printStackTrace(); } }
}