# Doubts about PostgreSql

**URL:** https://discourse.orthanc-server.org/t/doubts-about-postgresql/1641
**Category:** Google Groups archive
**Created:** [September 12, 2019, 10:52am UTC](https://discourse.orthanc-server.org/t/doubts-about-postgresql/1641 "2019-09-12T10:52:34Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Fabio\_de\_Sousa](https://discourse.orthanc-server.org/letter_avatar_proxy/v4/letter/f/e480ec/32.png) [@Fabio\_de\_Sousa](https://discourse.orthanc-server.org/u/Fabio_de_Sousa)
#### Post date: [September 12, 2019, 10:52am UTC](https://discourse.orthanc-server.org/t/doubts-about-postgresql/1641/1 "2019-09-12T10:52:34Z")

</div>

Dear,

I’m new to Orthanc! I have doubts!  
How do you create the tables? How to create schemas?  
How to check if postgreSQL is working correctly?

---

<div class="post-metadata">

### Author: ![bobIQ\_morane](https://discourse.orthanc-server.org/letter_avatar_proxy/v4/letter/b/839c29/32.png) [@bobIQ\_morane](https://discourse.orthanc-server.org/u/bobIQ_morane)
#### Post date: [September 12, 2019, 1:20pm UTC](https://discourse.orthanc-server.org/t/doubts-about-postgresql/1641/2 "2019-09-12T13:20:39Z")

</div>

> Hi,

Orthanc creates the tables on its own but you need to set it up with access to the database.

---

<div class="post-metadata">

### Author: ![liv\_lincoln](https://discourse.orthanc-server.org/letter_avatar_proxy/v4/letter/l/ea666f/32.png) [@liv\_lincoln](https://discourse.orthanc-server.org/u/liv_lincoln)
#### Post date: [September 12, 2019, 1:42pm UTC](https://discourse.orthanc-server.org/t/doubts-about-postgresql/1641/3 "2019-09-12T13:42:35Z")

</div>

can anyone help me orhanc set up

---

<div class="post-metadata">

### Author: ![jodogne](https://discourse.orthanc-server.org/user_avatar/discourse.orthanc-server.org/jodogne/32/1511_2.png) [@jodogne](https://discourse.orthanc-server.org/u/jodogne)
#### Post date: [September 12, 2019, 2:29pm UTC](https://discourse.orthanc-server.org/t/doubts-about-postgresql/1641/4 "2019-09-12T14:29:30Z")

</div>

Please follow the Orthanc Book:  
[https://book.orthanc-server.com/plugins/postgresql.html#usage](https://book.orthanc-server.com/plugins/postgresql.html#usage)

---

<div class="post-metadata">

### Author: ![Fabio\_de\_Sousa](https://discourse.orthanc-server.org/letter_avatar_proxy/v4/letter/f/e480ec/32.png) [@Fabio\_de\_Sousa](https://discourse.orthanc-server.org/u/Fabio_de_Sousa)
#### Post date: [September 13, 2019, 1:24pm UTC](https://discourse.orthanc-server.org/t/doubts-about-postgresql/1641/5 "2019-09-13T13:24:48Z")

</div>

Dear,

Could someone send me the orthanc.json and postgreSQL.json files?  
I can’t make postgreSQL work on my orthanc.

_Best regards,_  
_Fábio_

---

<div class="post-metadata">

### Author: ![Luiz\_Eduardo\_Guida\_V](https://discourse.orthanc-server.org/letter_avatar_proxy/v4/letter/l/dc4da7/32.png) [@Luiz\_Eduardo\_Guida\_V](https://discourse.orthanc-server.org/u/Luiz_Eduardo_Guida_V)
#### Post date: [September 13, 2019, 1:28pm UTC](https://discourse.orthanc-server.org/t/doubts-about-postgresql/1641/6 "2019-09-13T13:28:35Z")

</div>

Hi, Fábio!

Plese follow this link: [https://book.orthanc-server.com/plugins/postgresql.html#usage](https://book.orthanc-server.com/plugins/postgresql.html#usage)

It contains an example configuration for the PostgreSQL related stuff. The other Orthanc options won’t really matter here (save for index and storage directory, of course).

Best,
