Two Laptop Bag*
The moose likes JDBC and the fly likes Unable to find a suitable driver Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Unable to find a suitable driver" Watch "Unable to find a suitable driver" New topic
Author

Unable to find a suitable driver

Igbe Jr. Chukwudi
Greenhorn

Joined: Nov 29, 2010
Posts: 12
hi every body.please am having problem with my database connection. each time i try to connect,b it flank the following error message:
UNABLE TO ESTABLISH CONNECTION TO jdbc:derby//localhost:1527/sample using org.apache.derby.jdbc.ClientDriver(Unable to find a suitable driver).

A friend says that the problem is from my windows XP,that the driver is missing in the installation. if that is so,i have to reformatt my system.
what should i do friends.....THANKS!!!
Jan Cumps
Bartender

Joined: Dec 20, 2006
Posts: 2491
    
    8

Your friend is wrong.

Your url is wrong too.
Check here for the right syntax.


OCUP UML fundamental and ITIL foundation
youtube channel
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Unable to find a suitable driver
 
Similar Threads
mysql JDBC driver classpath problem.
unable to connect project to database
oracle connection pool
Data source problem
URLCLassLoader