Difference between revisions of "Sudo service postgresql initdb"
Jump to navigation
Jump to search
(Created page with "{{lc}} sudo service postgresql initdb") |
|||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
sudo [[service postgresql initdb]] | sudo [[service postgresql initdb]] | ||
+ | Hint: the preferred way to do this is now "postgresql-setup initdb" | ||
+ | Initializing database ... OK | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | * {{psql}} | ||
+ | * {{Amazon Linux}} |
Revision as of 14:50, 3 February 2023
sudo service postgresql initdb Hint: the preferred way to do this is now "postgresql-setup initdb" Initializing database ... OK
- PostgreSQL:
psql
,.psqlrc, .pgpass
,$HOME/.pg service.conf
,-U, -W, -d
, meta-commands:\du, \dg, \ddp, \dp, \list, \dn, \dt, \c, \l, \di, \q
,show users
,show
,su - postgres
,psql -c, \?, \connect, \conninfo
,--version, --help
, PL/pgSQL - Amazon Linux: Amazon Linux 2, Amazon Linux 2023, AMI, amazon-linux-extras, al2022
Advertising: