# Connection to daml

**URL:** <https://forum.canton.network/t/connection-to-daml/2596>\
**Category:** App Development\
**Created:** [May 14, 2021, 1:08pm UTC](https://forum.canton.network/t/connection-to-daml/2596 "2021-05-14T13:08:07Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tiziano\_Sella](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/tiziano_sella/32/1237_2.png) [@Tiziano\_Sella](https://forum.canton.network/u/Tiziano_Sella)\
**Post date:** [May 14, 2021, 1:08pm UTC](https://forum.canton.network/t/connection-to-daml/2596/1 "2021-05-14T13:08:07Z")

</div>

We are building a hybrid application based on local database and blockchain  
where some fields of the local database contain references to the blockchain  
we have to choose the db and we need to know which db is supported by the most used blockchain platforms (and supported by DAML)  
therefore: 1. db with http access or jdbc?  
2. what is the db most commonly supported by the platforms?  
Tiziano

---

<div class="post-metadata">

**Author:** ![cocreature](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/cocreature/32/36_2.png) [@cocreature](https://forum.canton.network/u/cocreature)\
**Post date:** [May 14, 2021, 1:42pm UTC](https://forum.canton.network/t/connection-to-daml/2596/2 "2021-05-14T13:42:16Z")

</div>

Hi @Tiziano_Sella,  
If you want to run Daml on top of a SQL database your best option is [PostgreSQL](https://docs.daml.com/daml-driver-for-postgresql/) at the moment. In addition to that, we are also working on the Daml Driver for Oracle if PostgreSQL is not an option.

There is no support for other databases at the moment.

Both the Daml Driver for PostgreSQL as well as the Daml Driver for Oracle connect via jdbc.

---

<div class="post-metadata">

**Author:** ![Tiziano\_Sella](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/tiziano_sella/32/1237_2.png) [@Tiziano\_Sella](https://forum.canton.network/u/Tiziano_Sella)\
**Post date:** [May 14, 2021, 2:18pm UTC](https://forum.canton.network/t/connection-to-daml/2596/3 "2021-05-14T14:18:16Z")

</div>

Grazie !

---

<div class="post-metadata">

**Author:** ![Tiziano\_Sella](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/tiziano_sella/32/1237_2.png) [@Tiziano\_Sella](https://forum.canton.network/u/Tiziano_Sella)\
**Post date:** [May 14, 2021, 2:21pm UTC](https://forum.canton.network/t/connection-to-daml/2596/4 "2021-05-14T14:21:42Z")

</div>

> [@cocreature](#):
>
> Hi @Tiziano_Sella,  
> If you want to run Daml on top of a SQL database your best option is [PostgreSQL](https://docs.daml.com/daml-driver-for-postgresql/) at the moment. In addition to that, we are also working on the Daml Driver for Oracle if PostgreSQL is not an option.
> 
> There is no support for other databases at the moment.
> 
> Both the Daml Driver for PostgreSQL as well as the Daml Driver for Oracle connect via jdbc.

are there ready examples?

---

<div class="post-metadata">

**Author:** ![cocreature](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/cocreature/32/36_2.png) [@cocreature](https://forum.canton.network/u/cocreature)\
**Post date:** [May 14, 2021, 5:21pm UTC](https://forum.canton.network/t/connection-to-daml/2596/5 "2021-05-14T17:21:14Z")

</div>

What specifically do you need examples for? The docs I linked above [Daml Driver for PostgreSQL — Daml SDK 1.13.0 documentation](https://docs.daml.com/daml-driver-for-postgresql/) show you how you can setup the Daml Driver for PostgreSQL.
