Gives full play to the value of your data
General
form, you need to specify the hostname, port, and name of the database to connect.
Advanced
form, fill in the domain name of the database to connect to complete the URL.
psql
CLI:
postgres
with your superuser or administrative username.
CREATE ROLE
to create a role.
readonly_user
with the desired username and password
with a strong password. Alternatively, you can run CREATE USER
as a shortcut for CREATE ROLE ... WITH LOGIN
.
CONNECT
privilege on the database to the user.
USAGE
privilege on the schema where your data resides.
SELECT
privilege on the tables in the schema.
readonly_user
has the SELECT
privilege on tables future created in the schema.
psql
: