使用Nolio代理通过UNIX Box SQLCMD连接到SQL Server

发布于 2025-02-07 08:46:18 字数 494 浏览 0 评论 0原文

当前,我们正在SQL Server中手动运行脚本。我们正在尝试使用Nexus存储库来自动执行此执行。我们能够使用Nolio代理成功创建工作流,但是在执行工作流程时,SQLCMD的错误如下:

SQLCMD:错误:SQL Server的Microsoft ODBC驱动程序17:登录超时 已到期。 SQLCMD:错误:SQL Server的Microsoft ODBC驱动程序17:TCP 提供商:错误代码0x2AF9。 SQLCMD:错误:Microsoft ODBC驱动程序17 对于SQL Server:与网络相关或特定实例的错误具有 在建立与SQL Server的连接时发生。服务器不是 发现或无法访问。检查实例名称是否正确,以及SQL是否正确 服务器配置为允许远程连接。有关更多信息 请参阅SQL Server Books在线..

我们能够通过腻子成功地运行此过程,但是只有在使用Nexus存储库来运行Nexus存储库时,才能通过触发Nolio代理进行错误。知道我在这里做错了什么?

Currently we are manually running the scripts in SQL Server. We are trying to automate this execution by using Nexus repository. We are able to successfully create workflows using Nolio agent but while executing the workflows sqlcmd is throwing error as below :

Sqlcmd: Error: Microsoft ODBC Driver 17 for SQL Server : Login timeout
expired. Sqlcmd: Error: Microsoft ODBC Driver 17 for SQL Server : TCP
Provider: Error code 0x2AF9. Sqlcmd: Error: Microsoft ODBC Driver 17
for SQL Server : A network-related or instance-specific error has
occurred while establishing a connection to SQL Server. Server is not
found or not accessible. Check if instance name is correct and if SQL
Server is configured to allow remote connections. For more information
see SQL Server Books Online..

We are able to successfully run this process via putty but getting error only when we run using nexus repository by triggering Nolio agent. Any idea what am I doing wrong here?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文