# Replication from ODK to mysql which is local or Replication from ODK to SQL Server which is local

**URL:** <https://forum.odk-x.org/t/replication-from-odk-to-mysql-which-is-local-or-replication-from-odk-to-sql-server-which-is-local/1497>\
**Category:** Support\
**Created:** [October 8, 2021, 6:50pm UTC](https://forum.odk-x.org/t/replication-from-odk-to-mysql-which-is-local-or-replication-from-odk-to-sql-server-which-is-local/1497 "2021-10-08T18:50:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![razakgarba](https://odkx.b-cdn.net/letter_avatar_proxy/v4/letter/r/8dc957/32.png) [@razakgarba](https://forum.odk-x.org/u/razakgarba)\
**Post date:** [October 8, 2021, 6:50pm UTC](https://forum.odk-x.org/t/replication-from-odk-to-mysql-which-is-local-or-replication-from-odk-to-sql-server-which-is-local/1497/1 "2021-10-08T18:50:57Z")

</div>

Hello,  
I have a problem that I would like you to help me solve.  
I would like to replicate my ODK database on a local mysql database.  
Is it possible?  
if yes,  
How do I do it?  
What programming language do I need?

Python, PHP, or any other language?

---

<div class="post-metadata">

**Author:** ![elmps2018](https://odkx.b-cdn.net/user_avatar/forum.odk-x.org/elmps2018/32/105_2.png) [@elmps2018](https://forum.odk-x.org/u/elmps2018)\
**Post date:** [October 11, 2021, 7:33pm UTC](https://forum.odk-x.org/t/replication-from-odk-to-mysql-which-is-local-or-replication-from-odk-to-sql-server-which-is-local/1497/2 "2021-10-11T19:33:19Z")

</div>

Hi @razakgarba! As you are new to the community, when you get a chance, please introduce yourself [here](https://forum.odk-x.org/t/introduce-yourself/642).  
I’d also encourage you to add a real picture as your avatar because it helps build community!

ODK-X tools can sync with various SQL local servers; see details on setup with [ODK-X Sync Endpoint](https://docs.odk-x.org/sync-endpoint/).

---

<div class="post-metadata">

**Author:** ![W\_Brunette](https://odkx.b-cdn.net/user_avatar/forum.odk-x.org/w_brunette/32/376_2.png) [@W\_Brunette](https://forum.odk-x.org/u/W_Brunette)\
**Post date:** [October 11, 2021, 10:49pm UTC](https://forum.odk-x.org/t/replication-from-odk-to-mysql-which-is-local-or-replication-from-odk-to-sql-server-which-is-local/1497/3 "2021-10-11T22:49:42Z")

</div>

Also ODK-X Suitcase allows you download the current values in the database.

In general the ODK-X sync database is protected in the docker swarm. You would need to change the security settings for any outside service to talk directly to the database.
