如何使用实例名称连接SQL Server? [英] How to connect SQL Server using Instance Name?

查看:167
本文介绍了如何使用实例名称连接SQL Server?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

如何使用不使用IP地址的实例名称连接SQL Server?实际上SQL Server没有在网络服务器中显示实例名称,而如果我使用IP地址连接相同的远程SQL Server,则它连接良好。



我有不同网关的网络场景说:



1. 192.168.3.1
2. 192.168.4.1



我需要使用不使用IP地址的实例从192.168.3.1连接访问192.168.4.1的SQL Server。来自同一网关的实例仅显示在网络服务器中。



请帮我解决这个问题。

感谢你

解决方案

您必须使用IP地址。该实例仅在IP地址后添加。 129.168.4.1\instancename。请参见 http://www.connectionstrings.com/sqlconnection/connection-to-a- sql-server-instance / [ ^ ]

Hi everyone,
How to connect SQL Server using Instance Name not using ip address? Actually SQL Server is not showing Instance Name in Network Server whereas if I connect same remote SQL Server using IP address it is connected well.

I have a network scenario of different gateway say :

1. 192.168.3.1
2. 192.168.4.1

I need to connect access SQL Server of 192.168.4.1 from 192.168.3.1 using Instance not using IP address. Instance from same gateway are only show in Network Server.

Please help me in this problem.
Thanking You

解决方案

You have to use the IP address. The instance is just added on after the IP address. 129.168.4.1\instancename. See http://www.connectionstrings.com/sqlconnection/connection-to-a-sql-server-instance/[^]


这篇关于如何使用实例名称连接SQL Server?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆