The Type 4 jdbc driver for mysql provided by vendor company of the mysql database is ------>
connector j jdbc driver.
this driver will not come with mysql installation., so we need to download separately from www.mysql.com
Now procedure to develop java application with type 4 driver i.e.,connector j driver
1)extract mysql-connector-java-3.0.8-stable.zip file into a folder.
2)gather connector j jdbc driver jar file and add that mysql-connector-java-3.0.8-stable-bin.jar file (this is come from above said zip file) to the CLASSPATH.
3)Now u can develop java applications by using type4 driver..i.e.,
Driver Name ---> org.gjt.mm.mysql.Driver
URL Sample---->jdbc:mysql://localhost:port number/yourDatabase name
connector j jdbc driver.
this driver will not come with mysql installation., so we need to download separately from www.mysql.com
Now procedure to develop java application with type 4 driver i.e.,connector j driver
1)extract mysql-connector-java-3.0.8-stable.zip file into a folder.
2)gather connector j jdbc driver jar file and add that mysql-connector-java-3.0.8-stable-bin.jar file (this is come from above said zip file) to the CLASSPATH.
3)Now u can develop java applications by using type4 driver..i.e.,
Driver Name ---> org.gjt.mm.mysql.Driver
URL Sample---->jdbc:mysql://localhost:port number/yourDatabase name