Hi Ranchers, I am trying to install mysql and wanna use it with java.I have installed the server.My problem is what else should I and how I have to install to work with Servlets and JSPs and the Mysql.I have setup of mysql-connector-odbc and mysql-connector-java.Thank you alot guys,regards, Monica
Joined: Nov 11, 2003
mysql-connector-j is a jdbc driver. You need to read up on JDBC as the next step. I'd recommend taking a look at javadocs for DriverManager and Connection in the standard JDK.
Hi Monica, You will need to install "mysql-connector-java-3.1.12-bin.jar". and add its location to your classpath. Like if the u have istalled the driver at "C:\mysql-connector-java-3.1.12\mysql-connector-java-3.1.12-bin.jar;" add this path to your classpath.