title: how to add mysql driver jar file in eclipse
body: <p>I have the jar file: <code>mysql-connector-java-5.1.14-bin.jar</code> and I want to add it to my project.
  I add the jar at this way: project-> properties -> (Java Build Path) Libraries and add it from external jars. But when I try to use it and write:</p>
  
  <p><code>import com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource;</code></p>
  
  <p><code>import com.mysql.jdbc.jdbc2.optional.MysqlDataSource;</code></p>
  
  <p>I get error under "com.mysql".</p>
  
  <p>What is my mistake?</p>