Menu
Newbedev LogoNEWBEDEV Python Javascript Linux Cheat sheet
Newbedev LogoNEWBEDEV
  • Python 1
  • Javascript
  • Linux
  • Cheat sheet
  • Contact

PostgreSQL pgAdmin 4 how to create user and password code example

Example 1: create password for user in postgres

ALTER USER davide WITH PASSWORD 'hu8jmn3';

Example 2: postgres create admin user with password

sudo -u postgres createuser -s -i -d -r -l -w <<username>>
sudo -u postgres psql -c "ALTER ROLE <<username>> WITH PASSWORD '<<password>>';"

Tags:

Sql Example

Related

skip certificate check curl code example javascript getmonth name code example last value of array js slice code example gamestop stocks code example how to format date and time in javascript for date object code example javascript check array for duplicates code example getting started with spotipy code example usereducer react hooks example how to change a value on a hashmap jav code example forevery in js code example which angular version is latest code example change admin password djano code example

Recent Posts

Pandas how to find column contains a certain value Recommended way to install multiple Python versions on Ubuntu 20.04 Build super fast web scraper with Python x100 than BeautifulSoup How to convert a SQL query result to a Pandas DataFrame in Python How to write a Pandas DataFrame to a .csv file in Python
© 2021 newbedevPrivacy Policy