How to set a password for a user in Postgresql
Open a terminal
Connect to Postgresql
sudo -u postgres psql
postgres is the name of the user.
Change the password
ALTER USER postgres WITH PASSWORD 'postgres';
Output
'postgres' is the password.
Test the new password
psql -U postgres -h localh...
blog.alexandrecalaca.com1 min read