How to change root password for PostgreSql phpPgAdmin?
9,494
Solution 1
# sudo su - postgres
# psql -d template1
template1=# ALTER USER postgres WITH PASSWORD 'new password';
# service postgresql restart
Solution 2
• sudo su - postgres
• psql
• \password postgres
• TYPE THE POSTGRES PASSWORD
• \q
• exit
Related videos on Youtube
Author by
J.Olufsen
Passion for crafting state of the art software that makes an impact
Updated on September 18, 2022Comments
-
J.Olufsen over 1 year
What is the simplest way to change
root
password forPostgreSql phpPgAdmin
? -
VinoCoder over 4 yearsPlease add explanation for the commands :)