Instance profiles, ports and authentication
Select an instance profile
Every Mimus instance retains its native PostgreSQL listener (5432) for administration, backup, and native SQL clients. In addition, choose at most one session or document compatibility profile per PGDATA directory:
| Instance profile | shared_preload_libraries baseline | Client ports |
|---|---|---|
| Native PostgreSQL | (empty, or pg_tde, spock) | 5432 |
| MySQL compatible | pg_mysql (plus optional pg_tde, spock) | 5432, 3306 |
| MSSQL compatible | babelfishpg_tds (plus optional pg_tde, spock) | 5432, 1433 |
| MongoDB gateway | pg_cron, DocumentDB (single-node) | 5432, 27017 (gateway) |
Service gateways that require zero kernel patches (pgredis, pgetcd, pgsilo) connect over standard PostgreSQL pools and load their companion extensions (pg_redis, pg_etcd, or silo schemas) on stock or Mimus instances.
Plan default and co-located ports
When running multiple services or Pigsty infrastructure agents on the same host, check default port assignments before binding listeners:
| Protocol / Service | Protocol default | Common host note |
|---|---|---|
| PostgreSQL | 5432 | Native administration and SQL |
MySQL (pg_mysql) | 3306 | Configurable via mysql.port |
MSSQL (Babelfish) | 1433 | Configurable via babelfishpg_tds.port |
MongoDB (DocumentDB gateway) | 27017 | Standalone gateway listener |
Redis (pgredis) | 6379 | Gateway defaults to 127.0.0.1:56379 in local labs |
etcd (pgetcd) | 2379 / 2381 | Collides with host etcd DCS if Patroni runs locally |
S3 (pgsilo) | 9000 / 9001 | Shares default MinIO / Silo object and console ports |
Verify native and compatibility authentication
Before enabling compatibility extensions, verify native login, account identity, and build version using the psql binary from your Mimus installation:
Role access on port 5432 follows standard PostgreSQL 19 client authentication (pg_hba.conf, scram-sha-256, TLS). MySQL (3306) and TDS (1433) listeners negotiate their own wire handshakes (caching_sha2_password / mysql_native_password for MySQL; TDS login mappings for Babelfish), so always verify login separately through the target client driver after configuring native roles.
