We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 07b7ba6 + db93885 commit e0e42a1Copy full SHA for e0e42a1
1 file changed
foodcorner/src/model/DBConnection.java
@@ -42,7 +42,7 @@ public static java.sql.Connection getConnection() {
42
java.sql.Connection connection = null;
43
44
try {
45
- Class.forName("com.mysql.jdbc.Driver");
+ Class.forName("com.mysql.cj.jdbc.Driver");
46
connection = DriverManager.getConnection("jdbc:mysql://localhost:3306/studentdb", "root", "");
47
}
48
0 commit comments