0

I have to use my db on Mariadb (installed thank to Xampp) with a Java program. This is the code i wrote :

 String host =  "jdbc:mariadb://localhost:3306/prova" ;
 String user ="root";
 String password =***;
 Connection con = DriverManager.getConnection(host,user,password);

But out the error :Exception in thread "main" java.sql.SQLException: No suitable driver found for jdbc:mariadb://localhost:3306/prova

so where i have to put this driver? (Distro : Deepin Linux deb based)

Christian Sicari
  • 121
  • 2
  • 13

0 Answers0