Installing Postgresql Server in Ubuntu 20.1 WSL 2

service –status-all service –status-all | more service –status-all | grep ntpd service –status-all | less

List service and their open ports netstat -tulpn

sudo -u postgres psql postgres=# ALTER USER postgres PASSWORD ‘kakarr’; If successful, Postgres will output a confirmation of ALTER ROLE as seen above. postgres=# \q

References

https://chartio.com/resources/tutorials/how-to-set-the-default-user-password-in-postgresql/

Previous
Next