title: I can't connect to my LocalDB (LocalDB)\MSSQLLocalDB [2016]
body: <p>In my machine was installed several versions of <code>SQL Server 2008,2016,2019</code>, but in my current project I have to work only with 2016. I uninstalled 2019 version (because some times the file .mdf that I use to up to source code was generated on the wrong version [2019] and I couldn't find the reason, so I decided to uninstall 2019) after that I got error to accessing LocalDB.</p>
  <p>Firstly the error said something like <code>Parenting to MSSQL15</code> I don't remember the exact error, but that make me think the DB was still pointing to 2019 so I uninstalled and reinstalled SQL Server 2016 and now I having another error.</p>
  <p>In SSMS if I try to connect to (LocalDB)\MSSQLLocalDB I get:</p>
  <blockquote>
  <p>Cannot connect to (LocalDB)\MSSQLLocalDB.</p>
  <p>A network-related or instance-specific error occurred while
  establishing a connection to SQL Server. The server was not found or
  was not accessible. Verify that the instance name is correct and that
  SQL Server is configured to allow remote connections. (provider: SQL
  Network Interfaces, error: 0 -  [x89C50118]) (Microsoft SQL Server,
  Error: -1983577832)</p>
  </blockquote>
  <p>If I go to CMD to see what I have as servers I get:</p>
  <blockquote>
  <p>C:\Users\rmarchetto&gt;sqllocaldb info MSSQLLocalDB ProjectsV13</p>
  </blockquote>
  <p>But if I try to access specifically MSSQLLocalDB I get:</p>
  <blockquote>
  <p>C:\Users\rmarchetto&gt;sqllocaldb info MSSQLLocalDB Call to
  LocalDBFormatMessage failed. Error code returned:
  2311389448. Error in LocalDBFormatMessage! Error code returned:
  2311389454.</p>
  </blockquote>