Skip to content

Commit

Permalink
Merge pull request #603 from mixcore/Fix_init_site_on_SQLSERVER
Browse files Browse the repository at this point in the history
Fix init site on SQLSERVER
  • Loading branch information
nhathoang989 authored Mar 2, 2022
2 parents 88f3629 + 8b09e2a commit 648bdf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mix.Cms.Lib/ViewModels/Init/InitCmsViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public string ConnectionString
return IsUseLocal
? LocalDbConnectionString
: $"Server={dbServer};Database={DatabaseName}" +
$";UID={DatabaseUser};Pwd={DatabasePassword};MultipleActiveResultSets=true;";
$";UID={DatabaseUser};Pwd={DatabasePassword};MultipleActiveResultSets=true;TrustServerCertificate=True";
}
case MixDatabaseProvider.MySQL:
return $"Server={DatabaseServer};port={DatabasePort};Database={DatabaseName}" +
Expand Down

0 comments on commit 648bdf9

Please sign in to comment.