Programming Tutorials

Comment on Tutorial - Using JDBC to connect to MySQL from Java Program By Rajan



Comment Added by : Arsalan

Comment Added at : 2012-07-09 16:38:49

Comment on Tutorial : Using JDBC to connect to MySQL from Java Program By Rajan
I successfully connect to mysql server using:
"jdbc:mysql://localhost:3306/mysql";
But the problem I face at the end is compilation/execution of Query. I get the following error:
Error: java.lang.ClassNotFoundException: Select * from subject
BUILD SUCCESSFUL (total time: 0 seconds)
------------------ Please Suggest What should I do with this error
Thanks


View Tutorial