Archived
0

Add files via upload

This commit is contained in:
Prot-CN
2019-01-31 00:47:43 +06:00
committed by GitHub
parent 0681597ecd
commit d07107e477

View File

@@ -11,7 +11,7 @@ public class DataBasePrison4Life {
driver = new FabricMySQLDriver(); driver = new FabricMySQLDriver();
DriverManager.registerDriver(driver); DriverManager.registerDriver(driver);
connection = DriverManager.getConnection( connection = DriverManager.getConnection(
"url", "jdbc:mysql://localhost:3306/prison4life",
"user", "password"); "root", "root");
} catch (SQLException e) { e.printStackTrace(); } } } catch (SQLException e) { e.printStackTrace(); } }
} }