Ajouter 'DonjonBdB.java'

This commit is contained in:
Nassim EL HADDAD 2023-12-20 11:14:51 +01:00
parent 928169c17e
commit 4655e72714

9
DonjonBdB.java Normal file
View File

@ -0,0 +1,9 @@
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);
}