How do I change the default postgres password?



How do I change the default postgres password?..

Answer / Himanshu Rathor

To change the default PostgreSQL password for an existing user, you can use the following command: `ALTER USER username PASSWORD 'new_password';`

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Postgre Interview Questions

What is pg pool?

1 Answers  


How do I connect to an rds postgres database?

1 Answers  


What is gis data?

1 Answers  


How do I find the size of a postgres table?

1 Answers  


How do I create a postgresql table using pgadmin?

1 Answers  


Explain about concurreny with the help of MVCC?

1 Answers  


How do I alter a table in postgresql?

1 Answers  


Is pgadmin open source?

1 Answers  


What is work_mem in postgresql?

1 Answers  


How do you change the name of a column?

1 Answers  


What are foreign key constraints?

1 Answers  


How do I remove all rows from a table?

1 Answers  


Categories