![]() |
|
|
#1 |
|
Member
Join Date: Feb 2005
Location: ANtwerp - Belgium
Posts: 34
|
How to connect to MySQL ? (1)
What do you need when you want to connect to MySQL from a java application ? First you need to download the JDBC driver, which can be found at www.mysql.com.
I'm using MySQL for my java web applications and I use Tomcat as a web server. Therefor, I've installed the JDBC driver in C:\Program Files\Apache Software Foundation\Tomcat 5.0\common\lib. This driver is inside a jar or Java ARchive, called mysql-connector-java-3.1.6-bin.jar. A JAR can be opened with Winzip and it contains the definitions of all .class files you need when you need the functionality of this java archive. Whenever you are using JAR's or Java archives for extra functionality, you will have to install them in the common/lib folder of Tomcat. |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Import Access, Excel and data of other formats to MySQL by Navicat | NavicatGuy | Articles | 0 | 08-17-2004 01:08 AM |
| 3.2 Entering Queries | Administrator | Documentation | 0 | 06-09-2004 02:58 AM |
| 1.4.3.2 Using the MySQL Software for Free Under GPL | Administrator | Documentation | 0 | 06-08-2004 02:20 AM |
| 1.2.2 The Main Features of MySQL | Administrator | Documentation | 0 | 06-08-2004 01:55 AM |
| 1.2 Overview of the MySQL Database Management System | Administrator | Documentation | 0 | 06-07-2004 10:11 PM |