# Postgresql credentials

**URL:** https://meta.discourse.org/t/postgresql-credentials/280959
**Category:** Self-hosting
**Created:** [October 3, 2023, 9:00pm UTC](https://meta.discourse.org/t/postgresql-credentials/280959 "2023-10-03T21:00:37Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![inj3ct0r](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/inj3ct0r/32/324428_2.png) [@inj3ct0r](https://meta.discourse.org/u/inj3ct0r)
#### Post date: [October 3, 2023, 9:00pm UTC](https://meta.discourse.org/t/postgresql-credentials/280959/1 "2023-10-03T21:00:37Z")

</div>

Hello,

I need these information how could i got it ?

PostgreSQL server  
PostgreSQL database name  
PostgreSQL username  
PostgreSQL port

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [October 3, 2023, 9:07pm UTC](https://meta.discourse.org/t/postgresql-credentials/280959/2 "2023-10-03T21:07:27Z")

</div>

If you are trying to get into the Postgres CLI, enter the container with:

`./launcher enter app`

then run `su postgres -c 'psql discourse'`

The port is `5432`  
The user is `postgres`  
The database name is `discourse`

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [October 3, 2023, 9:10pm UTC](https://meta.discourse.org/t/postgresql-credentials/280959/3 "2023-10-03T21:10:01Z")

</div>

> [@inj3ct0r](#):
>
> I need these information how could i got it ?

You might get a more useful answer if you’ll share what you really want to do that you think the postgres information will help. It’s accessible only inside the docker container, so you won’t be able to connect to it with any tools outside the docker container.

Maybe you want the [data explorer](https://meta.discourse.org/t/32566?silent=true) plugin, for example.
