Breaking

Code Gripper
Responsive Advertisement
  • Home
Homepostgresql

Change postgres user password ubuntu

byMahabubur Rahman -September 25, 2021
0

If you want to change postgres user password, follow bellow instruction.

First open terminal, then run bellow commend to access postgres terminal.


root@borbibi:/home/borbibi/borbibi# sudo -u postgres psql postgres

psql (12.8 (Ubuntu 12.8-0ubuntu0.20.04.1))

Type "help" for help.


Now run bellow commend to change expected user password.


postgres=# ALTER USER postgres PASSWORD '12365410';

ALTER ROLE

postgres=#



If this article is useful to you please write a comment bellow. Also let us know what kind of solution/tutorial/article you expect from this site.



Tags postgresql ubuntu
  • Facebook
  • Twitter

You may like these posts

Post a Comment

Previous Post Next Post

Follow Us

Popular Posts

aggregate

How to efficiently count filtered documents in MongoDB $group operator

byDev3-January 13, 2023

How to get current day date in JavaScript

August 19, 2021

How to fix Error: laravel.log could not be opened?

January 11, 2022

Django - cannot import name 'config' from 'decouple'

January 10, 2023

Subscribe Us

Facebook

Categories

Main Tags

Code Gripper

September 30, 2023

Total Pageviews

Search This Blog

CODE GRIPPER

Code Gripper
CODE GRIPPER

  • Home
  • Python
  • PHP

Menu Footer Widget

  • Home
  • About
  • Contact Us
Code Gripper

About Us

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's.

Categories

Main Tags

Latest Posts

Most Popular

How to efficiently count filtered documents in MongoDB $group operator

January 13, 2023

How to get current day date in JavaScript

August 19, 2021

How to fix Error: laravel.log could not be opened?

January 11, 2022
Design by Blogger | Distributed by Gooyaabi
  • Home
  • About Us
  • Contact Us
  • RTL Version

Contact Form