postgres and its password

 Enter on the command line:

$ sudo -u postgres psql postgres
postgres=# \password postgres

You'll see:

Enter new password: 
Enter it again:


check postgres is running or not :: 

sudo -u postgres psql

Comments

Popular posts from this blog

Rails 7 Features :: Comparison with Rails 6 and Rails 5