# 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:** 1

<div class="post-metadata">

**Author:** ![007](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/007/32/175794_2.png) [@007](https://meta.discourse.org/u/007)\
**Post date:** [April 11, 2020, 5:26pm UTC](https://meta.discourse.org/t/does-the-discourse-install-set-a-default-postgres-password/147639/1 "2020-04-11T17:26:30Z")

</div>

Hi, I’m trying to get into the Discourse PostgreSQL database to learn how it’s laid out so I can do some tweaks to the import script to meet my specific needs.

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.

I’ve tried just hitting ENTER (psql documentation states there is no default password) but I’m told it’s incorrect.

What’s the best practice for accessing the raw database? Or is there a wiki here that shows the database structure? That’s really what I need. I have the [Data Explorer](https://meta.discourse.org/t/32566?silent=true) plugin running, so I could explore from there, but that would be easier to do if I knew how the database is laid out.

Thanks in advance for any help!

---

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