SQL Server “.” Alias Not Working

后端 未结 8 788
一个人的身影
一个人的身影 2021-02-12 23:26

I\'ve added an alias of \".\" which should point to my local (named) instance, \".\\SQL2008\". But when I try to connect to \".\", it times out.

Am I missing something o

8条回答
  •  一向
    一向 (楼主)
    2021-02-13 00:00

    If you are creating TCP/IP aliases you need to ensure the "SQL Server Browser" service is running. As well as checking the TCP/IP protocol is enabled for both server and client.

    In Sql Server configuration Manager under the SQL Server Services node right click the SQL Server Browser and set the Start Mode to Automatic. If you are not going to do a reboot you will also need to Start the service manually.

    The SQL Server Browser service is responsible for telling the client which port to use. See http://technet.microsoft.com/en-us/library/ms181087(v=sql.105).aspx for more details.

提交回复
热议问题