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
- Data Science
- Android
- AJAX
- ASP.net
- C
- C++
- C#
- Cocoa
- Cloud Computing
- HTML5
- Java
- Javascript
- JSF
- JSP
- J2ME
- Java Beans
- EJB
- JDBC
- Linux
- Mac OS X
- iPhone
- MySQL
- Office 365
- Perl
- PHP
- Python
- Ruby
- VB.net
- Hibernate
- Struts
- SAP
- Trends
- Tech Reviews
- WebServices
- XML
- Certification
- Interview
categories
Related Tutorials
Java program to get location meta data from an image
Program using concept of byte long short and int in java
Update contents of a file within a jar file
Tomcat and httpd configured in port 8080 and 80
Count number of vowels, consonants and digits in a String in Java
Student marks calculation program in Java
Calculate gross salary in Java
Calculate average sale of the week in Java
Vector in Java - Sample Program
Archived Comments
1. i am getting d following error:-
Se
View Tutorial By: nikitha at 2013-02-07 09:23:12
2. Looks good, but don't use gets(). gets() is respon
View Tutorial By: Luke at 2011-11-21 09:03:38
3. Hi Johnny,
did you check whether th
View Tutorial By: Frank at 2010-11-13 13:16:57
4. I will try
View Tutorial By: bridges at 2009-09-06 22:09:46
5. Hello,
I've got javax.comm and fol
View Tutorial By: Ashkan at 2009-12-19 21:51:19
6. hi can u send me the complete working code for sen
View Tutorial By: gautami at 2007-12-04 01:13:45
7. import java.io.*;
class CharaaDemofromnet
View Tutorial By: bond at 2014-08-16 17:02:10
8. this is a site site for our problem to be sorted o
View Tutorial By: Atique at 2009-11-02 00:15:18
9. dear sir/madam
I am using netbeans IDE 7.0
View Tutorial By: bangaram at 2011-07-19 12:03:04
10. Thanks dear
View Tutorial By: Muthin at 2009-04-29 00:32:24