# Erratic behaviour when enabling/disabling db connections

**URL:** <https://community.auth0.com/t/erratic-behaviour-when-enabling-disabling-db-connections/22246>\
**Category:** Get Help\
**Tags:** dashboard, database-connections, bug\
**Created:** [March 7, 2019, 12:38am UTC](https://community.auth0.com/t/erratic-behaviour-when-enabling-disabling-db-connections/22246 "2019-03-07T00:38:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![clo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/clo/32/11011_2.png) [@clo](https://community.auth0.com/u/clo)\
**Post date:** [March 7, 2019, 12:38am UTC](https://community.auth0.com/t/erratic-behaviour-when-enabling-disabling-db-connections/22246/1 "2019-03-07T00:38:01Z")

</div>

Hi everyone,

Here to report some weird behaviour I experienced today (that involved our prod being down, everyone panicked, but it s solved now, so all good)  
One of our developer needed to create a new native app in our Auth0 tenant, he was not sure which database connection to enable for it, so he fiddled a bit with the buttons.

Problem that it seemed to have disabled all database connections for all our applications (!!!)  
After re-enabled everything back on, I tried to reproduce what could have lead to this situation.

That’s what I ve found :

Let s say I have 1 database connection (Username-Password-Authentication), and 2 applications using it (1 native app, 1 single page app):

 ![22%20am](https://global.discourse-cdn.com/auth0/original/2X/f/f4b91e992bf1135f354607cc54f7b9cd1a50e489.png)

I go to the native app details, select the ‘connections’ tab, and want to disable the database connection:

 ![17%20am](https://global.discourse-cdn.com/auth0/original/2X/b/bf7ec2c9d5dc77fc9ef06c97475f4ffcd9e92924.png)

When I go to the list of applications connected to the database connection, I observe that ALL the applications have been disabled, and not only the native app:

 ![20%20am](https://global.discourse-cdn.com/auth0/original/2X/0/05e0a9b54bdef4ebedcbc83395db58ee7e768423.png)

Seems that disabling the database connection on the page of one application disables it for all the applications connected to the database connection.

Is this expected behaviour of the dashboard? I dont believe that an action in the settings of 1 application should be reflected to all applications.

Please let me know if this is not clear, or if I missed something.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [March 7, 2019, 12:44pm UTC](https://community.auth0.com/t/erratic-behaviour-when-enabling-disabling-db-connections/22246/3 "2019-03-07T12:44:13Z")

</div>

Hey there!

Thank you a lot for reporting that! It’s not how it’s supposed to behave. I’ll make sure to relay it to appropriate team! Really appreciate putting together all the context and screenshots!

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [August 30, 2019, 11:07am UTC](https://community.auth0.com/t/erratic-behaviour-when-enabling-disabling-db-connections/22246/4 "2019-08-30T11:07:27Z")

</div>


