Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Creating a database

$ sudo -u postgres psql

postgres=# create database webclient;

postgres=# create user webclient;

postgres=# alter user webclient with encrypted password 'webclient';

postgres=# grant all privileges on database webclient to webclient;

Below are several useful database commands

...