技术文章 - CS356149

在安装 ThingWorx Platform 期间尝试执行 thingworxAzureSingleInstanceSchemaSetup 或 thingworxAzureManagedInstanceSchemaSetup 时,会看到“sqlcmd:未找到命令”

已修改: 15-Mar-2024   


注意:本文已使用机器翻译软件翻译,以方便非英语客户阅读。但翻译内容可能包含语法错误或不准确之处。请注意, PTC对本文所含信息的翻译准确性及使用后果不承担任何责任。请在 此处 查看本文的英文原始版本以便参考。有关机器翻译的更多详情,请单击 此处
感谢您告诉我们。我们将尽快审阅此译文。

适用于

  • ThingWorx Platform 8.5 to 9.5

说明

  • ThingWorx Platform Azure SQL数据库脚本无法执行
  • 安装 ThingWorx Platform 时无法执行Azure SQL的架构设置脚本
  • ThingWorx Platform Azure SQL架构设置脚本无法成功完成
  • thingworxAzureSingleInstanceDBSetupthingworxAzureManagedInstanceDBSetup按预期完成,但thingworxAzureSingleInstanceSchemaSetupthingworxAzureManagedInstanceSchemaSetup失败
  • 未创建 ThingWorx 数据库架构,因为架构设置脚本报告sqlcmd:未找到命令
  • 未设置数据库架构的问题,尝试运行thingworxAzureSingleInstanceSchemaSetupthingworxAzureManagedInstanceSchemaSetup时出现sqlcmd: command not find错误
  • 执行以下 ThingWorx 数据库脚本之一会导致sqlcmd:找不到命令:
    • thingworxAzureSingleInstanceSchemaSetup.ps1
    • thingworxAzureSingleInstanceSchemaSetup.sh
    • thingworxAzureManagedInstanceSchemaSetup.ps1
    • thingworxAzureManagedInstanceSchemaSetup.sh
  • 执行 ThingWorx Azure SQL数据库架构设置脚本时,在命令行中看到以下内容:
    • 开始执行
      设置 ThingWorx 架构并在 <Azure SQL DB> 中创建用户 <Azure SQL 用户>...
      密码:./thingworxAzureSingleInstanceSchemaSetup.sh:第 154 行:sqlcmd:找不到命令
      设置模型架构...
      密码:./thingworxAzureSingleInstanceSchemaSetup.sh:第 170 行:sqlcmd:找不到命令
      设置属性架构...
      密码:./thingworxAzureSingleInstanceSchemaSetup.sh:第 176 行:sqlcmd:找不到命令
      设置数据架构...
      密码:./thingworxAzureSingleInstanceSchemaSetup.sh:第 182 行:sqlcmd:找不到命令
      设置补助金模式...
      密码:./thingworxAzureSingleInstanceSchemaSetup.sh:第 188 行:sqlcmd:找不到命令
      结束执行
这是文章 356149 的 PDF 版本,可能已过期。最新版本 CS356149