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)) {