title: How to configure Tomcat to connect with MySQL
body: <p>Could someone provide a few details on how to configure Tomcat to access MySQL?</p>
  
  <ol>
  <li><p>In which directory within Tomcat do I place <code>mysql-connector-java-5.1.13-bin</code>? Should I place it under <code>Tomcat 6.0\webapps\myapp\WEB-INF\lib</code>?</p></li>
  <li><p>Do I need to add configuration to <code>context.xml</code> or <code>server.xml</code>?</p></li>
  <li><p>Should I create a <code>web.xml</code> file and place it under <code>Tomcat 6.0\webapps\myapp\WEB-INF</code>? If so, then what should the contents of this file look like?</p></li>
  </ol>