|
|
| Website Setup, Java Database Connector (JDBC)... |
| Follow the instructions below to install the Java Database Connector
(JDBC) server. This software will allow you to connect to the the MySQL database
from java developed applications. At the time of this writing, the file I downloaded
was called 'mysql-connector-java-5.1.5.tar.gz' - the current file available may be different
version. |
- Login the server as root.
- Download the Java Database Connector (JDBC) from the MySQL website and put it in the '/usr/local'
folder.
- Type: cd /usr/local
- Type: chown root ./mysql-connector-java-5.1.5.tar.gz
- Type: chgrp root ./mysql-connector-java-5.1.5.tar.gz
- Type: tar xzvf ./mysql-connector-java-5.1.5.tar.gz
The JDBC connector files will be unzipped.
- The file /usr/local/mysql-connector-java-5.1.5/mysql-connector-java-5.1.5-bin.jar
will need to be copied to:
/usr/share/tomcat5.5/common/lib/ (after installing Tomcat 5.5)
/usr/lib/jvm/jre1.6.0_03/lib/ext/ (JRE folder)
|
|