![]() ![]() ![]() First, switch to the postgres system user account and run the psql command as follows: $ sudo su - postgres To create a new database in PostgreSQL, you need to access the PostgreSQL database shell (psql) program. PostgreSQL Accepting Client Connections Creating Database in PostgreSQL ![]() After PostgreSQL installed, you can confirm that the PostgreSQL service is active, running and is enabled under systemd using the following systemctl commands: $ sudo systemctl is-active postgresqlĪlso, confirm that the Postgresql server is ready to accept connections from clients as follows: $ sudo pg_isready ![]()
0 Comments
Leave a Reply. |