Format of the initialization string does not conform to specification starting at index 75

我这边是 docker 里面跑asp.net core应用的时候报的这个错误,错误原因是连接字符串格式错误

以下是我的连接字符串的书写:

 这里最奇怪的问题就是,这个连接字符串在本地调试的时候一点问题没有,可是一上docker就报错

解决方案是:

 把这个尾部的分号去掉。

原文地址:https://www.cnblogs.com/shapman/p/13813740.html