Add files via upload
Changed mySQL data class
This commit is contained in:
@@ -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(); } }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user