Step to configure MYSQL with apache tomcat
Step to configure MYSQL with apache tomcat:
1) Copy mysql connection jar file to catalina_home lib directory
2) Configure that database parameter in server.xml file, resource name resource type, java .sql .data source, driver class name = mysql.jdbc.driver , URL= jdbc:mysql://host name of the musql server>:3306/tomcat
3) Define the JNDI parameters in the application web.xml file reference name and the reference type
4) Make Shure that the same JNDI name is configured inside the application

