Two Laptop Bag*
The moose likes JDBC and the fly likes Driver not Found Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Driver not Found" Watch "Driver not Found" New topic
Author

Driver not Found

lucas
Greenhorn

Joined: Dec 27, 2004
Posts: 2
Hi, I am connecting to MYSQL server through Jbuilder. When I am trying to establish a database connection in Jbuilder, I am getting an error "THE URL: jdbc:jdbc:microsoft:sqlserver not found. check for misspellings and that the right driver is not present on the classpath.
I refernced the .jar files in the classpath and also include the jar files in the web-inf directory of webapps of jbuilder.

Can anybody please provide me with a solution.

Thanks,
Felipe Walker
Ranch Hand

Joined: Sep 23, 2003
Posts: 41
if you are connecting to MYSQL use
jdbc:mysql name of database or path to database)
examples
String url="jdbc:mysql://localhost:3306/database";
String url = "jdbc:mysql://localhost/test";
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 31057
    
232

"user new",
We're pleased to have you here with us in the JDBC forum, but there are a few rules that need to be followed, and one is that proper names are required. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

Thanks,
Jeanne
Forum Bartender


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
lucas
Greenhorn

Joined: Dec 27, 2004
Posts: 2
Hi Felipe Walker,

Thanks a lot..I was able to connect to the database.
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 31057
    
232

"user new",
The display name policy is not optional. Please update your display name.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Driver not Found