diff --git a/Common.Library/Common.Library.csproj b/Common.Library/Common.Library.csproj index ec5b568..b5352af 100644 --- a/Common.Library/Common.Library.csproj +++ b/Common.Library/Common.Library.csproj @@ -13,11 +13,11 @@ - - - - - + + + + + diff --git a/Common.Library/SQL/Base/SQLBase.cs b/Common.Library/SQL/Base/SQLBase.cs index 3da6599..2875942 100644 --- a/Common.Library/SQL/Base/SQLBase.cs +++ b/Common.Library/SQL/Base/SQLBase.cs @@ -29,7 +29,7 @@ namespace Common.Library.SQL.Base case DBType.MSSQL: break; case DBType.MYSQL: - rv = string.Format("Server={0};Database={1};Uid={2};Pwd={3}", DBHost, DBName, DBUserName, DBPassword); + rv = string.Format("Server={0};Database={1};Uid={2};Pwd={3};SslMode=none", DBHost, DBName, DBUserName, DBPassword); break; }