This repository was archived by the owner on Nov 2, 2024. It is now read-only.
PostgreSQL #2916
PostgreSQL
#2916
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
To make sure our PostgreSQL is secured with a strong password, set a password for its system user and then change the default database admin user account
Change user password
Login using Postgres system account
Now, change the Admin database password
psql -c "ALTER USER postgres WITH PASSWORD 'your-password';"
Create a new user.
Create a new database:
Grant all rights or privileges on created database to the user
To exit psql
\\q
Then type exit to get back to root
Change the recorder:
db_url:
in your HA configuration.yamlExample:
Beta Was this translation helpful? Give feedback.
All reactions