# Accessing Database

**URL:** <https://meta.discourse.org/t/accessing-database/154125>\
**Category:** Self-hosting\
**Created:** [June 7, 2020, 10:40pm UTC](https://meta.discourse.org/t/accessing-database/154125 "2020-06-07T22:40:54Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![cmoi](https://avatars.discourse-cdn.com/v4/letter/c/8c91f0/32.png) [@cmoi](https://meta.discourse.org/u/cmoi)\
**Post date:** [June 7, 2020, 10:40pm UTC](https://meta.discourse.org/t/accessing-database/154125/1 "2020-06-07T22:40:54Z")

</div>

I am trying to access my database via a GUI (Psequel).

I forwarded the port setting from my container as such:

app.yml:

```plaintext
expose:
  <standard definitions>
  - "15432:5432" # PostgreSQL

Also changed my password as such:

./launcher enter app
su - postgres
psql
ALTER ROLE postgres WITH PASSWORD '<your password>';

And I am unable to access the database. Any suggestions?
```

---

_[View the full topic](https://meta.discourse.org/t/accessing-database/154125)._
