sqlcmd无法登陆的问题!
C:\Documents and Settings\Administrator>sqlcmd
HResult 0x2, Level 16, State 1
Named Pipes Provider: Could not open a connection to SQL Server [2].
Sqlcmd: Error: Microsoft SQL Native Client : An error has occurred while establi
shing a connection to the server. When connecting to SQL Server 2005, this failu
re may be caused by the fact that under the default settings SQL Server does not
allow remote connections..
Sqlcmd: Error: Microsoft SQL Native Client : Login timeout expired.
C:\Documents and Settings\Administrator>
请教如何修改?
问题点数:20、回复次数:5Top
1 楼softj(天地客人<最近很迷茫>)回复于 2005-11-09 23:04:59 得分 5
没看明白?楼主,再详细点!
=========================================================
我的回复,尽可能为你分忧解难!
BLOG:blog.csdn.net/softj --欢迎光临,有更多信息等着你!
QQ群:8476022专研数据库 --大家进来聊一聊!
MSN:softj@msn.com --这不常用!
Mail:zj.wj@163.com --有什么问题可以和我来EMAIL!
=========================================================Top
2 楼superhasty(鸟儿自空中飞过)回复于 2005-11-09 23:24:16 得分 5
检查一下SqlServer2005的服务器和客户端连接协议,如TCP/IP协议等是否已经配置好。Top
3 楼zhpsam109(JACKY.昊昊)回复于 2005-11-10 09:26:18 得分 0
协议是好的!
提示: does not
allow remote connections..怎么回事?Top
4 楼zhpsam109(JACKY.昊昊)回复于 2005-11-11 11:35:01 得分 0
自己顶一下!Top
5 楼mywangzhao(海边好多泡沫...)回复于 2005-11-15 17:57:10 得分 10
你先看看 sqlcmd -?的帮助
然后可能是你需要自己设置登陆一下:
sqlcmd -s yourservername -u youruser -p yourpassword
try againTop




