-1

I get problem to run a jdbc program not getting output error is suitable driver not found I added jar file but alsothis is my program getting a problem

1 Answers1

0

You must correct your connection string:

Connection cn = DriverManager.getConnction("jdbc:mysql://localhost:3306/student1", "Admin", "msdos");

More info here: https://dev.mysql.com/doc/connector-j/5.1/en/connector-j-reference-url-format.html

Elvermg
  • 427
  • 6
  • 12