# PostgreSQL Details

**URL:** <https://meta.discourse.org/t/postgresql-details/227336>\
**Category:** Self-hosting\
**Created:** [May 17, 2022, 8:18pm UTC](https://meta.discourse.org/t/postgresql-details/227336 "2022-05-17T20:18:42Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![cocococosti](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cocococosti/32/231474_2.png) [@cocococosti](https://meta.discourse.org/u/cocococosti)\
**Post date:** [May 17, 2022, 8:40pm UTC](https://meta.discourse.org/t/postgresql-details/227336/4 "2022-05-17T20:40:15Z")

</div>

Assuming you have a standard Discourse docker installation, you can connect to the postgres database with the `postgres` user. No password needed:

```plaintext
cd /var/discourse
./launcher enter app
su postgres
psql
\c discourse

```

If you want to list all users you can run `\du`

---

_[View the full topic](https://meta.discourse.org/t/postgresql-details/227336)._
