MySQL JNDI Connection Example
This example assumes the following software versions:
-
Tomcat 7.0.39
-
MySQL Server 5.6
-
MySQL Connector/J 5.1.24
-
MySQL Connector/ODBC 5.1.12
NOTE:
-
When you download and install the complete MySQL package on Windows 64-bit, the installer will place the 64-bit ODBC driver on your system. In addition to that, you must also download and install the 32-bit ODBC driver for MySQL.
-
When you download and install MySQL on Windows 64-bit, the installer will place the JDBC driver (Connector/J) on your system in /Program Files (x86)/MySQL/.