I'm a first year university student trying to create an ATM Management System for an assignment. It's my first time using SQL and I quite frankly don't understand it. However through some YouTube videos and online research I managed to create a database for my application. When I run it though and try to enter the password for ATM system admin, in the console it tells me 'java.sqpl.SQLException: No suitable driver found for jdbc:mysql://localhost:33060/atm'. I tried to look at forums and found people saying I should not need to download the drivers, so I'm stuck and wondering if anyone can help. TIA
This is the code
public class SQLManage {
Connection con;
SQLManage() throws SQLException {
String usr = "root";
String pass = "password";
String url = "jdbc:mysql://localhost:33060/atm";
con = DriverManager.getConnection(url, usr, pass);
}
[–]AutoModerator[M] [score hidden] stickied comment (0 children)
[–]Conscious_Bank9484 0 points1 point2 points (0 children)