Skip to main content

Prerequisites

  • A PostgreSQL server reachable from the internet (or through your network configuration).
  • A database user with read access to the schemas and tables you want to query.

Required fields

FieldDescriptionExample
NameA display name for this datasource in Mora.Graphics Press warehouse
HostThe hostname or IP address of your PostgreSQL server.localhost
PortThe port PostgreSQL is listening on.5432
DatabaseThe name of the database to connect to.my_database
UserThe database user.admin
PasswordThe user’s password.

Optional fields

FieldDescription
SSLEnable SSL for encrypted connections. Turn this on if your server requires or supports TLS.

Steps

  1. Open Settings → Datasources → New.
  2. Enter a name and select PostgreSQL as the type.
  3. Fill in the fields above.
  4. Click Test connection to verify Mora can reach your database.
  5. Click Create.

Troubleshooting

  • Connection refused — Confirm the host, port, and that your firewall allows inbound connections from Mora’s IP.
  • Authentication failed — Double-check the user and password. Ensure the user has CONNECT privilege on the database.
  • SSL required — Toggle the SSL switch on and retry.