Navicat Premium 连接数据库报错【08001】

具体错误如下:

[08001] [Microsoft][SQL Server Native Client 11.0]Reistry information is corrupt or missing. 
     Make sure the provider is installed and registered correctly. (27)
[08001] [Microsoft][SQL Server Native Client 11.0]Client unable to establish connection (27)
[08001] [Microsoft][SQL Server Native Client 11.0]A network-related or instance-specific error has occurred 
while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is 
correct and if SQL Server is configured to allow remote connections. For more information see SQL Server Books Online.(0)

错误原因:

Sql Server 服务被删除

 

解决方法:

  1. 重装Sql Server

  2. 进入Navicat,点击数据库进行编辑======>高级======>Navicat Client 驱动程序,选择【ODBC Driver 17 for SQL Server】

  3. 测试连接======>连接成功(不成功想其他办法)

                Leslie Cheung 随笔

posted @ 2023-05-19 14:47  Leslie_Cheung  阅读(840)  评论(0编辑  收藏  举报