Meaningless Drivel is fun!
The moose likes JDBC and Relational Databases and the fly likes MySql connectivity problem? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "MySql connectivity problem?" Watch "MySql connectivity problem?" New topic
Author

MySql connectivity problem?

Ravinder Rana
Greenhorn

Joined: May 10, 2006
Posts: 29
Hi Ranchers,

I'd a problem regarding MySql connection.i use MySql version mysql-essential-5.0.21-win32, and Driver for this is mysql-connector-java-3.1.13.
My connectivity code is

I got the Servlet Exceptions, No suitable driver,at java.sql.DriverManager.getConnection(Unknown Source)

Plz correct me, I'm a bit cofuse.

Thanks in advance.
Goodness is the real investment that never fails

[ July 10, 2006: Message edited by: Bear Bibeault ]
Scott Selikoff
author
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3739
    
  10

Add a colon after mysql in the connection string.


[OCA 8 Book] [Blog]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: MySql connectivity problem?