# Database connection status stuck as "Connecting"

**URL:** <https://forum.inductiveautomation.com/t/database-connection-status-stuck-as-connecting/21888>\
**Category:** Ignition\
**Created:** [January 15, 2019, 3:54pm UTC](https://forum.inductiveautomation.com/t/database-connection-status-stuck-as-connecting/21888 "2019-01-15T15:54:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![brendan.curran](https://avatars.discourse-cdn.com/v4/letter/b/cdc98d/32.png) [@brendan.curran](https://forum.inductiveautomation.com/u/brendan.curran)\
**Post date:** [January 15, 2019, 3:54pm UTC](https://forum.inductiveautomation.com/t/database-connection-status-stuck-as-connecting/21888/1 "2019-01-15T15:54:40Z")

</div>

I was getting store and forward errors “Returning autogenerated keys is only supported for 8.2 and later servers” so I updated the JDBC drivers. Now when I check the Database connection status in the gateway it seems to be stuck as connecting. All queries and inserts still seem to be functioning as far as I can tell, but the status not showing itself as connected has me worried.

Is this a bug of some sort, or am I somehow successfully running queries/updates while not connected to the database?

---

<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:** [January 15, 2019, 4:30pm UTC](https://forum.inductiveautomation.com/t/database-connection-status-stuck-as-connecting/21888/2 "2019-01-15T16:30:25Z")

</div>

If you just updated the driver without doing anything else, try going to your actual database connection(s) and doing an edit -\> save (you don’t need to make any actual changes.

There’s a bug with a JDBC driver change not re-initializing connections that’s fixed in 7.9.11 - for now, restarting the DB connections should work.

---

<div class="post-metadata">

**Author:** ![brendan.curran](https://avatars.discourse-cdn.com/v4/letter/b/cdc98d/32.png) [@brendan.curran](https://forum.inductiveautomation.com/u/brendan.curran)\
**Post date:** [January 17, 2019, 1:38pm UTC](https://forum.inductiveautomation.com/t/database-connection-status-stuck-as-connecting/21888/3 "2019-01-17T13:38:04Z")

</div>

The status was stuck as connecting despite it being connected. Everything was working fine while “connecting.” Came in the next day and the connection status had changed to connected. No harm done, just a little worried that I had broken the database connection.

---

<div class="post-metadata">

**Author:** ![Sanderd17](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/sanderd17/32/8735_2.png) [@Sanderd17](https://forum.inductiveautomation.com/u/Sanderd17)\
**Post date:** [January 17, 2019, 2:07pm UTC](https://forum.inductiveautomation.com/t/database-connection-status-stuck-as-connecting/21888/4 "2019-01-17T14:07:45Z")

</div>

This sounds more like a gateway webpage problem. Perhaps your connection was lost, and the status didn’t update anymore? Or got something from the browser cache?
