gpt4 book ai didi

sql - Microsoft SQL Server Native Client 10.0 登录超时已过期

转载 作者:行者123 更新时间:2023-12-01 17:34:07 28 4
gpt4 key购买 nike

我有一个新安装的 SQL Server 2008 R2 Express。我尝试在本地运行 SQLCMD(请注意本地),但收到错误:

Named Pipes Provider: Could not open a connection to SQL Server [2]
Sqlcmd: Error: Microsoft SQL Serve Native Client 10.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 informations see SQL Server Books Online..
Sqlcmd: Error: Microsoft SQL Server Native Client 10.0: Login timeout expired.

为什么我不能让它工作?我已经尝试了一切。

最佳答案

我也遇到了同样的问题。我使用 -S 而不是 -s,并删除了 servername\instance 前后的“”。之后一切都进展顺利。

关于sql - Microsoft SQL Server Native Client 10.0 登录超时已过期,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14815297/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com