Site Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
postgresql:start [2021-10-28] dcaipostgresql:start [2021-10-28] (current) dcai
Line 4: Line 4:
  
 ''initdb -D /Users/dcai/.local/var/postgres12'' ''initdb -D /Users/dcai/.local/var/postgres12''
 +
 +== start sever with data store ==
 +''postgres -D ~/.local/var/postgres12/''
 +
 +== create super user ==
 +''createuser -s postgres''
 +
 +== update user password ==
 +
 +''ALTER USER postgres WITH PASSWORD 'xxxxx';''
  
 == Backup == == Backup ==
postgresql/start.1635408919.txt.gz · Last modified: by dcai