Mise à jour de 'DonjonBdB.java'

This commit is contained in:
Marjorie DAVELUY 2023-12-20 13:39:18 +01:00
parent 6f02d0541b
commit a1ab9b4e7f

View File

@ -1,4 +1,6 @@
public class DonjonBdB{
public class DonjonBd extends Donjon{
public void connection(){
Connection cnx = DriverManager.getConnection(
"jdbc:mariadb://dwarves.iut-fbleau.fr/elhaddad",
"elhaddad", "NassimPHP77550");
@ -7,3 +9,4 @@ public class DonjonBdB{
Class.forName("org.mariadb.jdbc.Driver");
}catch(ClassNotFoundException);
}
}