title: how to connect java and mysql using mysql connector java 5.1.12
body: <p>I'm still a beginner in java. I dont have any idea on how to import the files that I have downloaded into my java class.
  Its in this path:</p>
  
  <pre><code>E:\Users\user\Downloads\mysql-connector-java-5.1.12
  </code></pre>
  
  <p>I don't know what to do with the files I extracted from the file that I have downloaded in the mysql site for me to connect my java application and mysql database.</p>
  
  <p>I'm using Netbeans 6.8. And have also installed wampserver.</p>
  
  <p>ive already check out 
  This: <a href="https://stackoverflow.com/questions/2118369/java-trouble-connecting-to-mysql">Java: Trouble connecting to MySQL</a>
  and this: <a href="https://stackoverflow.com/questions/1640910/connecting-to-a-mysql-database">Connecting to a MySQL database</a></p>
  
  <p>But they don't seem to have answers on how to make use of the mysql java connector file from mysql site.
  Please help, thanks.</p>