We use the MySQL JDBC driver from http://www.mysql.com
http://dev.mysql.com/downloads/connector/j/
)
cd ~/src tar -zxf /tmp/mysql-connector-java-5.1.38.tar.gz cd mysql-connector-java-5.1.38 cp mysql-connector-java-5.1.38-bin.jar /usr/local/lib
/etc/init.d/gsrc stop cd /usr/local/lib rm mysql.jar ln -s mysql-connector-java-5.1.38-bin.jar mysql.jar /etc/init.d/gsrc start
In 2012, we used 5.1.22. Before that, it used to be 5.0.7
The MySQL JDBC driver we use is the "MM Mysql" driver. It is available for download from the MySQL site.
To install it, merely download and untar it
(in /home/tools
), and copy
mysql_2_uncomp.jar
into
/usr/local/lib
,
and make /usr/local/lib/mysql.jar
a symbolic link to that file.
Running make on the GSRC java code copies this
file into the web application where it can be used by
Tomcat.