# Mysql connection error with the gateway

**URL:** <https://forum.inductiveautomation.com/t/mysql-connection-error-with-the-gateway/30827>\
**Category:** Ignition\
**Created:** [December 19, 2019, 3:19pm UTC](https://forum.inductiveautomation.com/t/mysql-connection-error-with-the-gateway/30827 "2019-12-19T15:19:43Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [December 20, 2019, 5:15pm UTC](https://forum.inductiveautomation.com/t/mysql-connection-error-with-the-gateway/30827/9 "2019-12-20T17:15:33Z")

</div>

Hmm. MySQL 8.0. Have you verified you are using the right JDBC driver?

> [@MySQL 8.0 Connection](http://forum.inductiveautomation.com/t/mysql-8-0-connection/17848):
>
> Anyone install MySQL 8.0 and connect with Ignition? I get an error when I attempt. Wondering if maybe the java MySQL driver needs to be updated to work… org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (java.lang.ClassCastException: java.math.BigInteger cannot be cast to java.lang.Long) at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1225) at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:880) a…

---

_[View the full topic](https://forum.inductiveautomation.com/t/mysql-connection-error-with-the-gateway/30827)._
