MDriven Server can be configured with the PostgreSQL, MySQL, or MSSQL connection types documented for the production deployment package.
Supported database connection types
MDriven Framework lists support for SQL Server, PostgreSQL, MySQL, and SQLite. The MDriven Server production-database documentation specifies the following connection types:
| Database engine | MDriven Server connection type |
|---|---|
| PostgreSQL | PostgreSQL
|
| MySQL | MySQL
|
| Microsoft SQL Server | MSSqlServer
|
Configure MDriven Server
After the Docker deployment is running, configure MDriven Server to connect to the selected database schema:
- Open the MDriven Server URL in a browser and sign in.
- Go to Running > Model.
- If the application is running, select Pause App.
- Set Connection Type to
MSSqlServer,MySQL, orPostgreSQL, as appropriate for the selected database. - Set Alternate Connection String to the connection string for that database.
- Select Start App.
- Upload the model to MDriven Server.
For example, use PostgreSQL as the connection type when connecting MDriven Server to a PostgreSQL database.
Docker production database setup
A production deployment package downloaded with a PostgreSQL, MySQL, or MSSQL database option includes Docker Compose configuration for that database.
On the first docker compose up -d, the database schema is created automatically. The deployment package includes database-specific initialization and credential files:
- MySQL:
databases/mysql, including aninitfolder andmysql.env. - MSSQL:
databases/mssql, including aninitfolder andmssql.env. - PostgreSQL:
databases/postgres, including aninitfolder andpostgres.env.
The Docker deployment mounts database data to host directories so that data survives container restarts or updates:
- PostgreSQL:
/postgres-data - MySQL:
/mysql-data - MSSQL:
/mssql-data
Networking in the provided deployment
The provided Docker Compose setup places the selected database and MDriven Server on the same internal network. MDriven Turnkey is also placed on that network with MDriven Server.
For connections from database tools running on the host machine, use 127.0.0.1 or the server's public IP rather than Docker internal service names. Use the exposed port from compose.yaml and the credentials configured in the relevant environment file.
Azure and AWS managed databases
The available documentation does not confirm which Azure or AWS managed database offerings are supported with MDriven Server. It also does not provide provider-specific configuration requirements. Confirm managed-service compatibility and the required deployment settings before relying on such a configuration in production.
