# Connect with PostgreSQL

> Check the native connection, account and database before configuring extensions.

---

LLMS index: [llms.txt](/llms.txt)

---

Use the host, port, login role and database assigned to your instance. On the database host, the instance owner can also use the configured Unix socket. With the endpoint in the usual libpq environment variables (`PGHOST`, `PGPORT`, `PGUSER` and `PGDATABASE`), run:

```sh
psql -X -c 'SELECT current_database(), current_user, version()'
psql -X -c 'SHOW mimus_required_features'
```

Run this with the `psql` from your Mimus installation when identifying a build. Role access follows PostgreSQL authentication and privileges. Creating the encryption and replication extensions takes administrative privileges. MySQL and TDS clients negotiate authentication through their own listeners. A successful native login proves only the native connection. [PostgreSQL client authentication](https://www.postgresql.org/docs/19/client-authentication.html)

---

Backlinks:

- [Base · PostgreSQL 19.0](/docs/patches/base/)
