Why can't I connect to a SQL Server 2012 LocalDB shared instance?

后端 未结 5 1603
隐瞒了意图╮
隐瞒了意图╮ 2021-01-31 18:05

I\'m trying to set up a SQL Server 2012 LocalDB (RTM, x64) shared instance on my Windows 7 x64 machine and I can\'t seem to connect to the shared instance. I\'m using an Admini

5条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-31 18:25

    The problem is you need to quote the db name:

    sqlcmd -S "(localdb)\.\MySharedInstance"
    

提交回复
热议问题