title: JMeter can't connect to local database
body: <p>I am trying to run a .jmx script to run locally on my CentOS machine.. I have it configured to connect as:</p>
  
  <pre><code>jdbc:mysql//localhost:3306/test
  </code></pre>
  
  <p>With all the correct credentials (logging in as root). Everytime I run the script on CentOS command line: </p>
  
  <pre><code>./bin/jmeter.sh -Jusers=5000 -n -t ~/test.jmx -l results/test.log
  </code></pre>
  
  <p>I get this:</p>
  
  <pre><code>2015/12/14 20:11:28 WARN  - jmeter.protocol.jdbc.config.DataSourceElement: Could not load driver: com.mysql.jdbc.Driver java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
          at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
          at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
          at java.security.AccessController.doPrivileged(Native Method)
          at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
          at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
          at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
          at java.lang.Class.forName0(Native Method)
          at java.lang.Class.forName(Class.java:278)
          at org.apache.avalon.excalibur.datasource.ResourceLimitingJdbcDataSource.configure(ResourceLimitingJdbcDataSource.java:264)
          at org.apache.jmeter.protocol.jdbc.config.DataSourceElement.initPool(DataSourceElement.java:235)
          at org.apache.jmeter.protocol.jdbc.config.DataSourceElement.testStarted(DataSourceElement.java:108)
          at org.apache.jmeter.engine.StandardJMeterEngine.notifyTestListenersOfStart(StandardJMeterEngine.java:214)
          at org.apache.jmeter.engine.StandardJMeterEngine.run(StandardJMeterEngine.java:336)
          at java.lang.Thread.run(Thread.java:745)
  </code></pre>
  
  <p>I've looked up a few things online and a lot of articles advised me to put the JDBC .jar file in it's lib/ folder. I have done that and it is still not working.. Is there anything else I should try?</p>