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

<div class="post-metadata">

**Author:** ![Isambard](https://avatars.discourse-cdn.com/v4/letter/i/858c86/32.png) [@Isambard](https://meta.discourse.org/u/Isambard)\
**Post date:** [May 26, 2024, 9:29am UTC](https://meta.discourse.org/t/does-the-discourse-install-set-a-default-postgres-password/147639/4 "2024-05-26T09:29:58Z")

</div>

I had the same question. Is there a password, if so, where is this in the configuration?

Is it safe to change the psql user password (e.g. password rotation) and where should the corresponding password be updated in the config?

If running python scripts against a database, it would be helpful to use the same password, otherwise the yml files need to be modified to create a separate database user and password and grant permissions.

---

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