Follow these steps to carefully change the user password Postgres in Laravel:
  • Step 1: Make yourself the “Postgres” system user (through the root user, sudo or via SSH public key verification)
  • Step 2: Connect to the local server using “PSQL”
  • Step 3: Type this meta-command of PSQL \password

It should look something like this:

postgresql interview questions

BY Best Interview Question ON 17 Jun 2020