回答

收藏

SQL Server 2016 开发版无法连接到(LocalDB)\MSSQLLocalDB

技术问答 技术问答 322 人阅读 | 0 人回复 | 2023-09-12

由于未知的原因,我重新安装了 SQL Server 2016,导致SQL Server 宕机……然而,当我完成安装时,我发现我不能再安装了" n, s9 u, f8 X  o) H2 p# e# A+ u
连接(LocalDB)\MSSQLLocalDB了。我从SQL Server收到这个错误的消息。
) d% R: [: \( v% K" p2 [Cannot connect to (LocalDB)\MSSQLLocalDB.
7 j, Q! v# p% nA network-related or instance-specific error occurred while establishing a/ L: K& N; ^  A0 k
connection to SQL Server. The server was not found or was not accessible.
3 I2 _9 {5 j; yVerify that the instance name is correct and that SQL Server is configured
6 S# C+ X; {2 ?4 K# pto allow remote connections. (provider: SQL Network Interfaces,error: 52 -
9 i$ l. D. y1 Q& ^/ U/ _Unable to locate a Local Database Runtime installation. Verify that SQL
0 i0 r. t+ H& K0 m) k/ hServer Express is properly installed and that the Local Database Runtime9 O& p8 J$ `. M! K& N, e
feature is enabled.) (Microsoft SQL Server,Error: 2)
+ t! G1 Z/ s) h0 V3 a& `3 R; l
任何对如何解决这个问题有任何想法的人?我真的需要加快速度, N0 o  k/ n0 W& C4 D
但是数据库问题让我什么都做不了。
: S1 L3 {; p1 s2 b                                                                " n3 Q6 e: G' x4 w# h5 R3 p
    解决方案:                                                                * Y9 o2 {+ t# a- c& _  I
                                                                LocalDB是 SQL Server Express的特殊版本- 如果您没有安装它,则无法使用服务器/实例名连接到它。- ?7 |$ y* U1 q. T4 l
您可以轻松地单独安装 SQL Server Express LocalDB,与 SQL Server Developer 并行安装- 但是你需要清楚地安装它。
分享到:
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则