技术文章 - CS356149
在安装 ThingWorx Platform 期间尝试执行 thingworxAzureSingleInstanceSchemaSetup 或 thingworxAzureManagedInstanceSchemaSetup 时,会看到“sqlcmd:未找到命令”
已修改: 15-Mar-2024
适用于
- ThingWorx Platform 8.5 to 9.5
说明
- ThingWorx Platform Azure SQL数据库脚本无法执行
- 安装 ThingWorx Platform 时无法执行Azure SQL的架构设置脚本
- ThingWorx Platform Azure SQL架构设置脚本无法成功完成
- thingworxAzureSingleInstanceDBSetup或thingworxAzureManagedInstanceDBSetup按预期完成,但thingworxAzureSingleInstanceSchemaSetup或thingworxAzureManagedInstanceSchemaSetup失败
- 未创建 ThingWorx 数据库架构,因为架构设置脚本报告sqlcmd:未找到命令
- 未设置数据库架构的问题,尝试运行thingworxAzureSingleInstanceSchemaSetup或thingworxAzureManagedInstanceSchemaSetup时出现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