Can't connect to localhost, but can with computer name in SQL Server 2008

前端 未结 5 696
眼角桃花
眼角桃花 2020-12-02 15:44

I\'m using SQL Server 2008 and in Visual Studio, in Server Explorer, I can connect to SQL Server running using my computer name, but I can\'t using 127.0.0.1 or localhost, s

5条回答
  •  天涯浪人
    2020-12-02 16:19

    Use localhost\sql_server_instance_name

    For example, localhost\sqlexpress

    Use . instead of 127.0.0.1

    .\sqlexpress

提交回复
热议问题