From dcd5b95db05e12f304bed9a06a2d8ecc4bd44e11 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Wed, 20 Dec 2017 23:20:12 -0500 Subject: [PATCH] fix mssql connection string in setup --- util/Setup/Program.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/util/Setup/Program.cs b/util/Setup/Program.cs index 961abe32d3..79485c252e 100644 --- a/util/Setup/Program.cs +++ b/util/Setup/Program.cs @@ -232,8 +232,10 @@ namespace Bit.Setup Console.WriteLine("Migrating database."); var dbPass = Helpers.GetValueFronEnvFile("mssql", "SA_PASSWORD"); - var masterConnectionString = Helpers.MakeSqlConnectionString("mssql", "master", "sa", dbPass ?? string.Empty); - var vaultConnectionString = Helpers.MakeSqlConnectionString("mssql", "vault", "sa", dbPass ?? string.Empty); + var masterConnectionString = Helpers.MakeSqlConnectionString( + "bitwarden-mssql", "master", "sa", dbPass ?? string.Empty); + var vaultConnectionString = Helpers.MakeSqlConnectionString( + "bitwarden-mssql", "vault", "sa", dbPass ?? string.Empty); using(var connection = new SqlConnection(masterConnectionString)) {