# Cannot create JDBC driver of class 'com.mysql.cj.jdbc.Driver' for connect URL 'jdbc://localhost:3306/

**URL:** <https://forum.inductiveautomation.com/t/cannot-create-jdbc-driver-of-class-com-mysql-cj-jdbc-driver-for-connect-url-jdbc-localhost-3306/40800>\
**Category:** Ignition\
**Created:** [November 19, 2020, 2:47pm UTC](https://forum.inductiveautomation.com/t/cannot-create-jdbc-driver-of-class-com-mysql-cj-jdbc-driver-for-connect-url-jdbc-localhost-3306/40800 "2020-11-19T14:47:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![thomas.stevic](https://avatars.discourse-cdn.com/v4/letter/t/d6d6ee/32.png) [@thomas.stevic](https://forum.inductiveautomation.com/u/thomas.stevic)\
**Post date:** [November 19, 2020, 2:47pm UTC](https://forum.inductiveautomation.com/t/cannot-create-jdbc-driver-of-class-com-mysql-cj-jdbc-driver-for-connect-url-jdbc-localhost-3306/40800/1 "2020-11-19T14:47:19Z")

</div>

I am getting this error when trying to create a new database connection. I copied a working version that is working. The only difference is the name of the database.

The properties are as follows:

Name - MySQL

jdbc Driver - MySql

connection - jbdc://localhost:3306/acme

user Name - Tom

Password - yada\_yada

Password - yada \_yada

Extra Connection Properties - zeroDateTimeBehavior=CONVERT\_TO\_NULL;connectTimeout=120000;socketTimeout=120000;useSSL=false;allowPublicKeyRetrieval=true;disableMariaDbDriver

Enabled - True

Failover Datasource - none

Failover Mode - Standard

Slow Query Log Threshold - 60000

Validation Timeout - 10000

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [November 19, 2020, 4:34pm UTC](https://forum.inductiveautomation.com/t/cannot-create-jdbc-driver-of-class-com-mysql-cj-jdbc-driver-for-connect-url-jdbc-localhost-3306/40800/2 "2020-11-19T16:34:32Z")

</div>

Get the full stack trace of the error message, it should have more information about why it’s failing.
