# MySQL connection failed

**URL:** <https://forum.inductiveautomation.com/t/mysql-connection-failed/78891>\
**Category:** Ignition\
**Tags:** database\
**Created:** [September 8, 2023, 7:18am UTC](https://forum.inductiveautomation.com/t/mysql-connection-failed/78891 "2023-09-08T07:18:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![John\_Morgan1](https://avatars.discourse-cdn.com/v4/letter/j/22d042/32.png) [@John\_Morgan1](https://forum.inductiveautomation.com/u/John_Morgan1)\
**Post date:** [September 8, 2023, 7:18am UTC](https://forum.inductiveautomation.com/t/mysql-connection-failed/78891/1 "2023-09-08T07:18:27Z")

</div>

Hi,

I am trying to connect to a MySQL DB but I get this error message

Cannot create PoolableConnectionFactory (Unknown database 'test')

I have tried uninstalling both ignition and MySQL and installing them again and updating the JDBC

I have previously connected the same version of MySQL with the same version of ignition

If any one can help I would appreciate it

---

<div class="post-metadata">

**Author:** ![sebastien\_ng](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/sebastien_ng/32/55297_2.png) [@sebastien\_ng](https://forum.inductiveautomation.com/u/sebastien_ng)\
**Post date:** [September 8, 2023, 7:42am UTC](https://forum.inductiveautomation.com/t/mysql-connection-failed/78891/2 "2023-09-08T07:42:34Z")

</div>

I would like to know what are getting in log.  
Can you post log

---

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [September 8, 2023, 8:41am UTC](https://forum.inductiveautomation.com/t/mysql-connection-failed/78891/3 "2023-09-08T08:41:07Z")

</div>

Does the db have a schema called _ **test** _? It's saying there is not.

---

<div class="post-metadata">

**Author:** ![John\_Morgan1](https://avatars.discourse-cdn.com/v4/letter/j/22d042/32.png) [@John\_Morgan1](https://forum.inductiveautomation.com/u/John_Morgan1)\
**Post date:** [September 9, 2023, 1:37pm UTC](https://forum.inductiveautomation.com/t/mysql-connection-failed/78891/4 "2023-09-09T13:37:57Z")

</div>

I manually created a new schema named "test" and it worked well

Thank you
