# Error running bin/rails db

**URL:** https://meta.discourse.org/t/bin-rails-db/393531
**Category:** Support
**Created:** [January 15, 2026, 12:12pm UTC](https://meta.discourse.org/t/bin-rails-db/393531 "2026-01-15T12:12:23Z")
**Posts on this page:** 1
**Showing post:** 11

<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: [January 15, 2026, 4:18pm UTC](https://meta.discourse.org/t/bin-rails-db/393531/11 "2026-01-15T16:18:23Z")

</div>

If you want to get to the database on a [standard install](https://meta.discourse.org/t/142537?silent=true), the way that I do it is

```plaintext
./launcher enter app
su postgres
psql discourse

```

I’ve not seen `bin/rails db`, but when I ran it on one container (that uses an external database) I got a prompt asking for a password for user discourse.

---

_[View the full topic](https://meta.discourse.org/t/bin-rails-db/393531)._
