# Disable custom database connection

**URL:** <https://community.auth0.com/t/disable-custom-database-connection/131521>\
**Category:** Get Help\
**Tags:** custom-database-connections, connections\
**Created:** [April 8, 2024, 2:02pm UTC](https://community.auth0.com/t/disable-custom-database-connection/131521 "2024-04-08T14:02:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![alex.eliseev](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/alex.eliseev/32/56253_2.png) [@alex.eliseev](https://community.auth0.com/u/alex.eliseev)\
**Post date:** [April 8, 2024, 2:02pm UTC](https://community.auth0.com/t/disable-custom-database-connection/131521/1 "2024-04-08T14:02:26Z")

</div>

Hello there, recently we migrated all users to auth0, firstly we used lazy migration with a custom database connection, and then we bulk migrated all the rest users. Currently, there is no need for a custom database connection. So we wanted to disable the custom database connection but it seems impossible to do if a connection has users imported already. Can anyone confirm that the only way to do so is to bulk export users with password hashed from that connection and reimport them to another?

---

<div class="post-metadata">

**Author:** ![alex.eliseev](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/alex.eliseev/32/56253_2.png) [@alex.eliseev](https://community.auth0.com/u/alex.eliseev)\
**Post date:** [April 8, 2024, 2:13pm UTC](https://community.auth0.com/t/disable-custom-database-connection/131521/2 "2024-04-08T14:13:49Z")

</div>

Ok, I missed this page: [Configure Automatic Migration from Your Database](https://auth0.com/docs/manage-users/user-migration/configure-automatic-migration-from-your-database#disconnect-external-user-store)

---

<div class="post-metadata">

**Author:** ![ty.frith](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ty.frith/32/58484_2.png) [@ty.frith](https://community.auth0.com/u/ty.frith)\
**Post date:** [April 8, 2024, 9:58pm UTC](https://community.auth0.com/t/disable-custom-database-connection/131521/3 "2024-04-08T21:58:59Z")

</div>

Hey @alex.eliseev welcome to the community and thanks for following up with the link to relevant docs 🙂

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [April 22, 2024, 9:58pm UTC](https://community.auth0.com/t/disable-custom-database-connection/131521/4 "2024-04-22T21:58:59Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
