建立本地服务器以连接sql [英] build local server to connent sql

查看:98
本文介绍了建立本地服务器以连接sql的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我想连接到sql 2008,但是无法通过本地服务器连接.
我的本地服务器列表为emty.
当我尝试连接时出现此错误:
标题:连接到服务器
------------------------------
无法连接到MAHDIYE-PC.
------------------------------
其他信息:
建立与SQL Server的连接时发生与网络相关或特定于实例的错误.服务器未找到或无法访问.验证实例名称正确,并且已将SQL Server配置为允许远程连接. (提供者:命名管道提供程序,错误:40-无法打开与SQL Server的连接)(Microsoft SQL Server,错误:2)
要获取帮助,请单击:http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=2&LinkId=20476
------------------------------
按钮:
OK
------------------------------
如何构建本地服务器,直到可以连接到sql.


I want connect to sql 2008 , but I can not connect by local server.
the list of my localserver is emty.
when I try to connect come up this error:
TITLE: Connect to Server
------------------------------
Cannot connect to MAHDIYE-PC.
------------------------------
ADDITIONAL INFORMATION:
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 2)
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=2&LinkId=20476
------------------------------
BUTTONS:
OK
------------------------------
how I build local server,until I can connect to sql.

推荐答案

如果您已经有本地服务器,则最有可能的是一台或另一台计算机需要更改防火墙-检查是否可以从其他PC进入,如果可以,请检查其端口等.如果不能,那么您需要与照顾您的DB PC的任何人交谈,看看他是否可以提供帮助.
If you already have a local server, then the most likely thing is that one or other computer needs changes to it firewall - check if you can get in from a different PC, and if so check it''s ports and so forth. If you can''t then you need to talk to whoever looks after your DB PC and see if he can help.


这篇关于建立本地服务器以连接sql的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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