Difference between revisions of "Sudo service postgresql initdb"
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
− | + | [[/var/lib/pgsql/data/pg_hba.conf]] | |
* {{psql}} | * {{psql}} | ||
* {{Amazon Linux}} | * {{Amazon Linux}} |
Revision as of 14:51, 3 February 2023
sudo service postgresql initdb Hint: the preferred way to do this is now "postgresql-setup initdb" Initializing database ... OK
/var/lib/pgsql/data/pg_hba.conf
- 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: