BCP命令“登录超时已过期”

时间:2016-02-24 14:01:39

标签: sql sql-server sql-server-2012 bcp

我第一次使用BCP并且我正在使用它来尝试在我庞大的数据库中检索完整的“URL”列数据。我一直收到以下错误:

C:\Users\Mason\Desktop\Temp\DBDUMP>bcp "SELECT URL FROM Rocket.dbo.siteentry WHERE Content LIKE ''" queryout C:\Users\Mason\Desktop\Temp\DBDUMP\Output.txt -S rocketserver -T -U REMOVED -P REMOVED
SQLState = 08001, NativeError = 67
Error = [Microsoft][SQL Native Client]Named Pipes Provider: Could not open a connection to SQL Server [67].
SQLState = 08001, NativeError = 67
Error = [Microsoft][SQL Native Client]An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections.
SQLState = S1T00, NativeError = 0
Error = [Microsoft][SQL Native Client]Login timeout expired

我使用以下命令和密码&服务器刚刚替换为“helloworld”

bcp "SELECT [URL] FROM [dbo].[siteentry] WHERE [Content] LIKE ''" queryout  Output.txt -S helloworld.database.windows.net,1433 -T -d Rocket -U rocketserver@rocketserver -P helloworld -c

0 个答案:

没有答案