Docs Navigation
Docs/Reference

Connection Reference

Standard PostgreSQL, MySQL, and MongoDB connection strings, authentication, and driver setup.

Last Updated: August 2026

1. PostgreSQL Wire Protocol (Port 5432)

Connect any PostgreSQL client, ORM, or BI tool using standard connection URIs:

bashKOLMOS Reference
# Standard PostgreSQL URI
postgres://admin:password@cloud.kolmos.dev:5432/production?sslmode=require

# Connect via psql CLI
psql "postgres://admin:password@cloud.kolmos.dev:5432/production"

# In Prisma / Drizzle / SQLAlchemy (.env)
DATABASE_URL="postgres://admin:password@cloud.kolmos.dev:5432/production"

2. MySQL Wire Protocol (Port 3306)

Connect MySQL CLI, Sequelize, TypeORM, or MySQL Workbench:

bashKOLMOS Reference
# Standard MySQL URI
mysql://admin:password@cloud.kolmos.dev:3306/production

# Connect via MySQL CLI
mysql -h cloud.kolmos.dev -P 3306 -u admin -p production

3. MongoDB Wire Protocol (Port 27017)

Connect mongosh, Mongoose, Compass, PyMongo, or official MongoDB drivers:

javascriptKOLMOS Reference
# Standard MongoDB URI
mongodb://admin:password@cloud.kolmos.dev:27017/production?authSource=admin&ssl=true

# Connect via mongosh
mongosh "mongodb://admin:password@cloud.kolmos.dev:27017/production?authSource=admin"

# In Node.js (Mongoose)
await mongoose.connect("mongodb://admin:password@cloud.kolmos.dev:27017/production?authSource=admin");

4. Standard Environment Variables

When integrating with web applications or microservices, use standard connection environment variables: - `DATABASE_URL` — PostgreSQL connection string - `MYSQL_URL` — MySQL connection string - `MONGODB_URI` — MongoDB connection string - `KOLMOS_API_KEY` — Cloud API authentication key