# Sync two DB user sources between gateways

**URL:** <https://forum.inductiveautomation.com/t/sync-two-db-user-sources-between-gateways/25884>\
**Category:** Ignition\
**Created:** [June 17, 2019, 6:10pm UTC](https://forum.inductiveautomation.com/t/sync-two-db-user-sources-between-gateways/25884 "2019-06-17T18:10:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mitchell-ACS](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mitchell-acs/32/30062_2.png) [@mitchell-ACS](https://forum.inductiveautomation.com/u/mitchell-ACS)\
**Post date:** [June 17, 2019, 6:10pm UTC](https://forum.inductiveautomation.com/t/sync-two-db-user-sources-between-gateways/25884/1 "2019-06-17T18:10:54Z")

</div>

I have two gateways that I am trying to keep users in sync between, obviously the best method without AD would be database user sources, but when I try to attach my gateway to a user source table already created by another gateway, I get this error: `INFO | jvm 1 | 2019/06/17 18:08:48 | E [i.U.Wrapper] [18:08:48]: Error fetching users.org.postgresql.util.PSQLException: ERROR: prepared statement "S_1" already exists`
