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
Asked
Active
Viewed 32 times
-1
-
1Please add the code here, rather that showing the screenshot – codeLover Aug 30 '18 at 04:35
1 Answers
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