0

我想将我的本地 MS SQL 数据库附加到 www.godaddy.in 服务器,任何人都可以建议我如何附加我的数据库。或者我如何将我的 sql server 2008 studio management 连接到 www.godaddy.in 服务器。当我尝试将我的 sql server studio 管理连接到 www.godaddy.in 服务器时,它没有连接显示错误

(提供者:命名管道提供者,错误:40,和 microsoft sql server 错误 53)

在此处输入图像描述

4

1 回答 1

0

https://social.technet.microsoft.com/wiki/contents/articles/2102.how-to-troubleshoot-connecting-to-the-sql-server-database-engine.aspx

http://blog.sqlauthority.com/2009/05/21/sql-server-fix-error-provider-named-pipes-provider-error-40-could-not-open-a-connection-to-sql-server-microsoft-sql-server-error/

http://blogs.msdn.com/b/walzenbach/archive/2010/04/14/how-to-enable-remote-connections-in-sql-server-2008.aspx

https://stackoverflow.com/questions/11278114/enable-remote-connections-for-sql-server-express-2012

Short Answer

  • Check Firewall
  • Check Service is Running
  • Check TCP/IP is Enabled
  • Check SQL Server Properties "Allow Remote Connections"

Then Run these if Those Do not Resolve

  • Right-click on TCP/IP and select Properties.
  • Verify that, under IP2, the IP Address is set to the computer's IP address on the local subnet.
  • Scroll down to IPAll.
  • Make sure that TCP Dynamic Ports is blank.
  • Make sure that TCP Port is set to 1433.
  • If you have a named instance then you must have the SQL Server Browser Service enabled
  • The browser service runs on port UDP 1434 and this must be allowed through your firewall

Hail Mary Pass if this is Still not Resolved

  • Go to the client machine, and run cliconfg.exe If named pipes is listed first, demote it, and promote TCP/IP.
  • check if the firewall is blocking the named pipes port, which usually is 445
于 2014-02-01T00:10:08.810 回答