Click here to Skip to main content
15,902,020 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Class.forName ("com.mysql.jdbc.Driver")

Whenever I run netbeans, I keep getting this error:

"Can't find the MySQL JDBC driver"


Any help please..

Any help also when it comes to the path?..


Thank you..
Posted
Updated 30-Jul-11 5:28am
v2
Comments
Member 8033321 30-Jul-11 12:06pm    
ok... now i get this error:

"java.sql.SQLException: No suitable driver found for sun.jdbc:mysql://localhost:3306/igs?user=root&password=me"

any help?
Member 8033321 30-Jul-11 13:39pm    
ok... just fixed...

and now i got this error:
"Error: Data truncation: Data too long for column 'firstname' at row 1"

i've tried varchar(100) , varchar(200), char(100), but still nothing happens.....

1 solution

You may find the answer here[^].
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900