# Does the Discourse install set a default postgres password?

**URL:** <https://meta.discourse.org/t/does-the-discourse-install-set-a-default-postgres-password/147639>\
**Category:** Self-hosting\
**Created:** [April 11, 2020, 5:26pm UTC](https://meta.discourse.org/t/does-the-discourse-install-set-a-default-postgres-password/147639 "2020-04-11T17:26:30Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)\
**Post date:** [April 11, 2020, 7:45pm UTC](https://meta.discourse.org/t/does-the-discourse-install-set-a-default-postgres-password/147639/2 "2020-04-11T19:45:58Z")

</div>

> [@007](#):
>
> Only problem is that I can’t get into psql in the docker.
> 
> When I run: `psql root -h localhost` I am asked for a password.

Try

```plaintext
su postgres
psql

```

---

_[View the full topic](https://meta.discourse.org/t/does-the-discourse-install-set-a-default-postgres-password/147639)._
