POO_Pieces/DonjonBdB.java

9 lines
241 B
Java

public class DonjonBdB{
Connection cnx = DriverManager.getConnection(
"jdbc:mariadb://dwarves.iut-fbleau.fr/elhaddad",
"elhaddad", "NassimPHP77550");
try{
Class.forName("org.mariadb.jdbc.Driver");
}catch(ClassNotFoundException);
}