# Migrating multiple connections simultaneously to one database

**URL:** <https://community.auth0.com/t/migrating-multiple-connections-simultaneously-to-one-database/26162>\
**Category:** Get Help\
**Tags:** migration\
**Created:** [June 5, 2019, 3:39pm UTC](https://community.auth0.com/t/migrating-multiple-connections-simultaneously-to-one-database/26162 "2019-06-05T15:39:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![johnny-1111one1](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/johnny-1111one1/32/13736_2.png) [@johnny-1111one1](https://community.auth0.com/u/johnny-1111one1)\
**Post date:** [June 5, 2019, 3:39pm UTC](https://community.auth0.com/t/migrating-multiple-connections-simultaneously-to-one-database/26162/1 "2019-06-05T15:39:48Z")

</div>

We have multiple production applications ([api.producta.com](http://api.producta.com), [api.productb.com](http://api.productb.com), etc) that we want to migrate into a single database. When writing the user migration scripts, it appears that the database is expected to map to a single api via Login and GetUser scripts: Database ProductA points at [api.producta.com](http://api.producta.com).

Is there a good strategy for turning on a trickle migration from multiple sources into a single database? Or after finishing the migration for a product, can I at least migrate the users into another database? I want all the clients to be able to use a single Realm to login, not have to know what source product the user came from.

---

<div class="post-metadata">

**Author:** ![rob.ojevaar](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rob.ojevaar/32/16643_2.png) [@rob.ojevaar](https://community.auth0.com/u/rob.ojevaar)\
**Post date:** [October 10, 2019, 11:27am UTC](https://community.auth0.com/t/migrating-multiple-connections-simultaneously-to-one-database/26162/2 "2019-10-10T11:27:46Z")

</div>

Is there any reply on this one available?

---

<div class="post-metadata">

**Author:** ![wlee](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/wlee/32/35867_2.png) [@wlee](https://community.auth0.com/u/wlee)\
**Post date:** [November 10, 2022, 1:38pm UTC](https://community.auth0.com/t/migrating-multiple-connections-simultaneously-to-one-database/26162/3 "2022-11-10T13:38:11Z")

</div>

Encountering the exact same issue, what is the accepted solution to this?
