| Author |
Driver name for connecting MYSQL 5.0.5 with JAVA
|
Krishna Bharati
Greenhorn
Joined: May 12, 2008
Posts: 4
|
|
Hi, Can anyone help me telling the driver name for connecting MYSQL5.0.5 with JAVA
|
 |
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Joined: Aug 26, 2006
Posts: 4967
|
|
I believe I was using com.mysql.jdbc.Driver for 5.5 Here's the downloads page for connector/J at mysql.org : MySQL JDBC Driver Downloads
When you are using JDBC outside of an application server, the DriverManager class manages the establishment of Connections. The DriverManager needs to be told which JDBC drivers it should try to make Connections with. The easiest way to do this is to use Class.forName() on the class that implements the java.sql.Driver interface. With MySQL Connector/J, the name of this class is com.mysql.jdbc.Driver.
MySQL 5.1 Documentation Page -Cameron McKenzie [ June 09, 2008: Message edited by: Cameron Wallace McKenzie ]
|
Author of Hibernate Made Easy, What is WebSphere???, JSF 2.0 Made Easy and the SCJA Certification Guides
|
 |
Krishna Bharati
Greenhorn
Joined: May 12, 2008
Posts: 4
|
|
|
Thank you.
|
 |
 |
|
|
subject: Driver name for connecting MYSQL 5.0.5 with JAVA
|
|
|