aspose file tools*
The moose likes JDBC and the fly likes How to install mysql for java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "How to install mysql for java" Watch "How to install mysql for java" New topic
Author

How to install mysql for java

Monica Kapoor
Greenhorn

Joined: Nov 08, 2005
Posts: 7
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
Andy Grove
Greenhorn

Joined: Nov 11, 2003
Posts: 18
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,
Maximilian Xavier Stocker
Ranch Hand

Joined: Sep 20, 2005
Posts: 381
Find yourself a MySQL tutorial and admin tool as well.
rob armstrong
Ranch Hand

Joined: Jul 25, 2005
Posts: 77
Monica did you get yours to work yet?
roba
wise owen
Ranch Hand

Joined: Feb 02, 2006
Posts: 2023
Connecting to MySQL using JSP and JDBC
Nilesh Molankar
Greenhorn

Joined: Nov 13, 2005
Posts: 3
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to install mysql for java