Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
Class.forName("com.mysql.jdbc.Driver"); Connection con = DriverManager.getConnection ("jdbc:mysql://127.0.0.1:3006/dblabor","root","root"); System.out.println("Connection successful");
<pre>Class.forName("com.mysql.jdbc.Driver"); Connection con = DriverManager.getConnection ("jdbc:mysql://127.0.0.1:3006/dblabor","root","root"); System.out.println("Connection successful");
Class.forName("com.mysql.jdbc.Driver"); Connection con = DriverManager.getConnection ("jdbc:mysql://localhost:3306/dblabor","root","root"); System.out.println("Connection successful");
Connection con = DriverManager.getConnection ("jdbc:mysql://localhost:3306/dblabor","root","");
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)