Forums Register Login

How to install mysql for java

+Pie Number of slices to send: Send
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
+Pie Number of slices to send: Send
Hi Monica,

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.

Also, there's the JDBC tutorial here:

http://java.sun.com/docs/books/tutorial/jdbc/index.html

Cheers,
+Pie Number of slices to send: Send
Find yourself a MySQL tutorial and admin tool as well.
+Pie Number of slices to send: Send
Monica did you get yours to work yet?
roba
+Pie Number of slices to send: Send
+Pie Number of slices to send: Send
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.

How this helps.

-Nilesh
The government thinks you are too stupid to make your own lightbulb choices. But this tiny ad thinks you are smart:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1014 times.
Similar Threads
Problem connecting with MySQL using JSP
Using connector/MXJ
JDBC connection error
mysql Connector/J prerequisites
Problem connecting with MySQL using JSP
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 19, 2024 05:26:30.