sudo service postgresql initdb
Jump to navigation
Jump to search
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: