🚀 Welcome to MDriven Learn –  MDriven is now on Discord!  Don’t miss the latest Release Notes.
Concurrency and Connection Management
This page was created by Wikiadmin on 2026-07-29. Last edited by Wikiadmin on 2026-07-29.

Use the MDriven Server interface to configure the database connection for the selected database engine.

Configure the database connection

  1. Open the MDriven Server URL and sign in.
  2. Select Running > Model.
  3. If the application is running, select Pause App.
  4. Set Connection Type to the selected database type: MSSqlServer, MySQL, or PostgreSQL.
  5. Set Alternate Connection String to the exact connection string for the selected database.
  6. Select Start App.

If passwords were changed from their defaults, update the password value in the connection string accordingly.

Connect with external database tools

To inspect schemas, run queries, or manage database data from the host machine, use a database client such as DBeaver, DataGrip, MySQL Workbench, pgAdmin, SQL Server Management Studio, or Azure Data Studio.

When connecting from a database client running on the host, do not use Docker internal database names such as mysql, postgres, or mssql. Use 127.0.0.1, or the server's public IP address, together with the exposed port defined in compose.yaml and the credentials configured in the environment files.

IIS deployment and troubleshooting

For IIS deployments, create separate application pools for MDriven Server and MDriven Turnkey to improve isolation.

If database connection errors occur, verify the connection string and network connectivity.

For further investigation, check:

  • Event Viewer Application Log
  • IIS log files
  • C:\inetpub\wwwroot\MDrivenServer\logs for MDriven Server logs
  • C:\inetpub\wwwroot\MDrivenTurnkey\logs for MDriven Turnkey logs

Connection-pool and concurrency settings

The supplied documentation does not specify MDriven settings for database pool size, pool-acquisition timeout, idle-connection lifetime, request-concurrency limits, or .NET thread-pool settings.

Do not present database-provider connection-string options or host-level concurrency settings as MDriven-supported configuration without confirmation for the relevant database provider and deployment type.

See also