Microsoft SQL Server Native Client 10.0 Login timeout expired

前端 未结 6 1109
时光说笑
时光说笑 2021-01-13 01:37

I have a freshly installed SQL Server 2008 R2 Express. I\'m trying to run SQLCMD locally (please do take note locally) but I am receiving the e

6条回答
  •  孤城傲影
    2021-01-13 01:57

    I had the same issue, the reason is because sqlcmd when typed alone without the servername, tries to connect to the default server. If you have named instance then it cannot connect to it without specifying the instance name. Work around is to make the named instance as default by changing the port as shown in this link: SQL Server, convert a named instance to default instance?

提交回复
热议问题