MySQL Connection String for dotnetcore

Issues information
Hi there, i’m deploying some dotnetcore microservices via Dockerfile. When starting up i’ve added an alias to the DATABASE_URL_INTERNAL built in env var. However i think the format is not in the way dotnet requires the connection string.
[21:50:51 INF] Configure error
[21:50:51 ERR] System.ArgumentException: Format of the initialization string does not conform to specification starting at index 0.

at System.Data.Common.DbConnectionOptions.GetKeyValuePair(String connectionString, Int32 currentPosition, StringBuilder buffer, Boolean useOdbcRules, String& keyname, String& keyvalue)

Can i create another env var that references the other qovery builtin env vars? Something like “ConnectionString=Server={host var}; Uid={db username var}; Pwd={db pwd var}…”

  • OS:

  • databases:

  • Programming language and version:
    DotNetCore 3.1

  • Link to your project on Github/Gitlab:

  • Link to your application - starting with

Your issue

Describe here your issue

Dockerfile content (if any)

specify here your dockerfile content

Hello @Simon_Hartley!

Welcome on Qovery forum! :slight_smile:

Would you mind sharing your app console link please?