Mise à jour de 'DonjonBdB.java'
This commit is contained in:
parent
6f02d0541b
commit
a1ab9b4e7f
@ -1,4 +1,6 @@
|
|||||||
public class DonjonBdB{
|
public class DonjonBd extends Donjon{
|
||||||
|
|
||||||
|
public void connection(){
|
||||||
Connection cnx = DriverManager.getConnection(
|
Connection cnx = DriverManager.getConnection(
|
||||||
"jdbc:mariadb://dwarves.iut-fbleau.fr/elhaddad",
|
"jdbc:mariadb://dwarves.iut-fbleau.fr/elhaddad",
|
||||||
"elhaddad", "NassimPHP77550");
|
"elhaddad", "NassimPHP77550");
|
||||||
@ -6,4 +8,5 @@ public class DonjonBdB{
|
|||||||
try{
|
try{
|
||||||
Class.forName("org.mariadb.jdbc.Driver");
|
Class.forName("org.mariadb.jdbc.Driver");
|
||||||
}catch(ClassNotFoundException);
|
}catch(ClassNotFoundException);
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user