问题1、创建连接时出现错误:[IM002] [Microsoft][ODBC驱动程序管理器]未发现数据源名称并且未指定默认驱动程序(0)
Navicat来连接SQL server,这里确实有点麻烦,出现错误[IM002] [Microsoft][ODBC驱动程序管理器]未发现数据源名称并且未指定默认驱动程序(0),
解决方法:进入Navicat的安装路径,然后找到sqlncli_x64.msi文件并安装。安装成功后重新打开navicat软件再去测试连接一下,发现出现了第2个问题。
问题2、[08001] [Microsoft][SQL Server Native Client 10.0]Named Pipes Provider: Could not open a connection to SQL Server [2]
具体错误信息如下:
[08001] [Microsoft][SQL Server Native Client 10.0]Named Pipes Provider: Could not open a connection to SQL Server [2]. (2)[HYTO0] [Microsoft][SQL Server Native Client 10.0]Login timeout expired (0)[01S00] [Microsoft][SQL Server Native Client 10.0]Invalid connection string attribute (0)[08001] [Microsoft][SQL Server Native Client 10.0]A network-related or nce-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is corpct and if SQL Server is configured to allow remote connections. For more information see SQL Server Books Online. (2)
刚开始认为是防火墙的问题,设置了端口开放原则但仍然无效。后来发现要用逗号( ,)区分端口号。不能用(:)冒号。
MySQL :主机名或ip地址: 192.168.0.188:1433
SQL Server :主机名或ip地址: 192.168.0.188,1433
标签:10.0,绿色版,MSSQL,Server,Client,SQL,Navicat,Microsoft,Native From: https://www.cnblogs.com/xupeixuan/p/17871483.html