sudo service postgresql initdb
Revision as of 14:52, 3 February 2023 by Idontknowmaths (talk | contribs)
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
See also
- 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: