When I run this code:
String url = "jdbc:mysql://localhost:3306/staion_meteo";// phpmyadmin
String user = "root";
String passwd="" ;
Connection conn = DriverManager.getConnection(url, user, passwd);
System.out.println("you are connected to the data base : "+"station_meteo");
I get the following exception:
No suitable driver found for jdbc:mysql://localhost:3306/staion_meteo
Use this
before your connection. Also make sure
mysql-connector.jarin your class path.