aspose file tools*
The moose likes JDBC and the fly likes MySql connectivity problem? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
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
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3704
    
    5

Add a colon after mysql in the connection string.


My Blog: Down Home Country Coding with Scott Selikoff
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: MySql connectivity problem?