title: SQL Server LocalDb ProjectsV13 Connection Failure
body: <p>Using SQL Server 2016 <code>(localdb)\ProjectsV13</code>, I created a database - let's call it <code>MyDatabase</code>. All was fine and dandy until I decided I no longer needed it... </p>
  
  <p>So in SSMS 2016, while connected to <code>(localdb)\ProjectsV13</code>, I right clicked on <code>MyDatabase</code> and clicked "Delete".</p>
  
  <p>Now when I try to establish a connection to <code>(localdb)\ProjectsV13</code>, it fails. </p>
  
  <p>Here's the error message:</p>
  
  <blockquote>
    <p>Cannot connect to (localdb)\ProjectsV13.</p>
    
    <p>Cannot open database "MyDatabase" requested by the login. The login failed. Login failed for user 'MyDomain\MyUserName'. (Microsoft SQL Server, Error: 4060)</p>
  </blockquote>
  
  <p>So even though I deleted the <code>MyDatabase</code> database (I know - I should of just run a DROP), SSMS is still trying to connect to <code>MyDatabase</code> which of course fails and then prevents me from connecting to <code>(localdb)\ProjectsV13</code> at all - which is the real issue. </p>
  
  <p>How can I resolve this so that SSMS doesn't try to connect to the deleted <code>MyDatabase</code> database when connecting to <code>(localdb)\ProjectsV13</code>?</p>