quin
asked on
JSP and MySQL how to get the two talking
I have a Tomcat install and MySQL installed, now I need to know how install MySQL driver. Where do I need to put the driver and what part of the fiel. I have the mysql-connector-java-3.0.6 -stable-bi n.jar driver
My CLASSPATH is already set to
C:\jakarta-tomcat-4.1.18\c ommon\lib\ servlet.ja r
How can I add on or how should I change it.
Thanx
Joa
My CLASSPATH is already set to
C:\jakarta-tomcat-4.1.18\c
How can I add on or how should I change it.
Thanx
Joa
Add the driver jar to:
C:\jakarta-tomcat-4.1.18\c ommon\lib\
C:\jakarta-tomcat-4.1.18\c
ASKER
Thanks thats what I was looking for
Joa
Joa
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Thanks :)
Here is a simple program you can run to make sure you can get to the drivers...
import java.sql.*;
public class test { static public void main (String args[])
{
//Connection connection = null;
try
{
//name
Class.forName("com.mysql.j
System.out.println("Driver
}
catch(Exception e)
{
System.out.println("Driver
System.out.println(e);
}
}
}