JDBC Driver for MySQL

I am going to use MySQL in my web application, so I need to get JABC driver, I download a JDBC driver which is a mm.mysql .jar, what should i do to it?

do I need unpack it, or I just need to put it under some folder, what folder?

if i need to unpack it, what should I use for .jar file?

i can only find the instruction for.zip file (use winzip) about JDBC driver for MySQL

I am using JRun 3.0.

is there any one who know about this?

Thanks a lot.

[496 byte] By [pengyl] at [2007-9-26 3:09:27]
# 1

hello

you have got the right drivers... to make it work place them in the same folder as your application...eg.

if you have your files that connect to MySql "myDb.class", place this driver in the same folder..

Or you can have your drivers in any directory, and set your classpath to your "jar" file..

classpath=$classpath:\directory\mm.mysql.jar

this should do the job... hope this helps...

premal

genghiz at 2007-6-29 11:15:13 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...