# Discourse Database Question/Support

**URL:** https://meta.discourse.org/t/discourse-database-question-support/179703
**Category:** Self-hosting
**Created:** [February 14, 2021, 7:59pm UTC](https://meta.discourse.org/t/discourse-database-question-support/179703 "2021-02-14T19:59:54Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Seren\_Modz\_211](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/seren_modz_211/32/209615_2.png) [@Seren\_Modz\_211](https://meta.discourse.org/u/Seren_Modz_211)
#### Post date: [February 14, 2021, 7:59pm UTC](https://meta.discourse.org/t/discourse-database-question-support/179703/1 "2021-02-14T19:59:54Z")

</div>

Hello. I am here today to ask a short question. I was wondering if you could tell me if and how I could connect to a PostgreSQL database differently to shown in the [install guide](https://github.com/discourse/discourse/blob/master/docs/INSTALL-cloud.md). Currently, it is currently trying to connect to a local instance of PostgreSQL of which we don’t want.

We are trying to figure out how we can connect it to the instance of PostgreSQL that we have in a docker container but we don’t see how we can do it.

Many Thanks,  
Seren\_Modz 21

---

<div class="post-metadata">

### Author: ![Benjamin\_D](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/benjamin_d/32/277831_2.png) [@Benjamin\_D](https://meta.discourse.org/u/Benjamin_D)
#### Post date: [February 14, 2021, 8:49pm UTC](https://meta.discourse.org/t/discourse-database-question-support/179703/2 "2021-02-14T20:49:17Z")

</div>

Hi,  
this topic [Configure Discourse to use a separate PostgreSQL server](https://meta.discourse.org/t/running-discourse-with-a-separate-postgresql-server/46375) could help

---

<div class="post-metadata">

### Author: ![Seren\_Modz\_211](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/seren_modz_211/32/209615_2.png) [@Seren\_Modz\_211](https://meta.discourse.org/u/Seren_Modz_211)
#### Post date: [February 15, 2021, 12:18am UTC](https://meta.discourse.org/t/discourse-database-question-support/179703/3 "2021-02-15T00:18:33Z")

</div>

Thank you Benjamin\_D. I will go and give it a try.

---

<div class="post-metadata">

### Author: ![Seren\_Modz\_211](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/seren_modz_211/32/209615_2.png) [@Seren\_Modz\_211](https://meta.discourse.org/u/Seren_Modz_211)
#### Post date: [February 15, 2021, 12:46am UTC](https://meta.discourse.org/t/discourse-database-question-support/179703/4 "2021-02-15T00:46:52Z")

</div>

It worked. Thank you so much for all your help. I really appreciate it. 😃

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [March 17, 2021, 12:47am UTC](https://meta.discourse.org/t/discourse-database-question-support/179703/5 "2021-03-17T00:47:18Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
