Skip to content

Instance profiles, ports and authentication

Select one compatibility profile per instance, plan protocol ports, and verify PostgreSQL and wire-protocol 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 profileshared_preload_libraries baselineClient ports
Native PostgreSQL(empty, or pg_tde, spock)5432
MySQL compatiblepg_mysql (plus optional pg_tde, spock)5432, 3306
MSSQL compatiblebabelfishpg_tds (plus optional pg_tde, spock)5432, 1433
MongoDB gatewaypg_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 / ServiceProtocol defaultCommon host note
PostgreSQL5432Native administration and SQL
MySQL (pg_mysql)3306Configurable via mysql.port
MSSQL (Babelfish)1433Configurable via babelfishpg_tds.port
MongoDB (DocumentDB gateway)27017Standalone gateway listener
Redis (pgredis)6379Gateway defaults to 127.0.0.1:56379 in local labs
etcd (pgetcd)2379 / 2381Collides with host etcd DCS if Patroni runs locally
S3 (pgsilo)9000 / 9001Shares 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:

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

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.

Scan to open this page
https://mimus.pgsty.com/docs/guides/instance-planning/