title: How to configure tomcat 6.0 for mysql
body: <p>I'm using Tomcat 6.0, and I want to know how can I configure Tomcat's server.xml file  to connect to mysql database, and enable form based authentication in java. </p>
  
  <p>I'm currently using mysql 5.1, and I've already downloaded mysql connector jar file, and put in lib directory of Tomcat.</p>