技术文章 - CS350444
“psql: FATAL: password authentication failed for user”在升级到 ThingWorx Platform 9 期间执行 thingworxPostgresDataTableDataUpdate、thingworxPostgresStreamDataUpdate 或 thingworxPostgresValueStreamDataUpdate 时出现
已修改: 22-Jun-2022
适用于
- ThingWorx Platform 9.0 to 9.5
- PostgreSQL
说明
- 在升级到 ThingWorx Platform 9 期间尝试运行以下升级脚本之一时,用户的密码身份验证失败
- 视窗
- thingworxPostgresStreamSchemaUpdate.bat
- thingworxPostgresDataTableSchemaUpdate.bat
- thingworxPostgresValueStreamSchemaUpdate.bat
- Linux
- thingworxPostgresStreamSchemaUpdate.sh
- thingworxPostgresDataTableSchemaUpdate.sh
- thingworxPostgresValueStreamSchemaUpdate.sh
- 视窗
- 由于升级脚本失败,无法完成 ThingWorx Platform 到 9.x 的升级
- ThingWorx Platform 9 升级脚本无法正确执行
- 无法升级 PostgreSQL 支持的 ThingWorx Platform
- 执行 ThingWorx Platform 9 PostgreSQL 升级脚本时出现密码错误
- 尝试使用-r 选项和PGPASSWORD指定 PostgreSQL 数据库密码,但仍然出现密码验证错误
- 如何设置PGPASSWORD 环境变量以用于 ThingWorx Platform 9 升级脚本
- 在命令行或终端中看到以下错误
- psql:致命:用户“<ThingWorx 数据库用户>”的密码验证失败
thingworxPostgres<Table>DataUpdate.sh:第 75 行:[:-eq:应为一元运算符
psql:致命:用户“<ThingWorx 数据库用户>”的密码验证失败
thingworxPostgres<Table>DataUpdate.sh:第 83 行:[:-eq:预期一元运算符
表 [value_stream] 已迁移以 ID: 开头的数据。之前只迁移带有 ID 的记录
psql:致命:用户“<ThingWorx 数据库用户>”的密码验证失败
thingworxPostgres<Table>DataUpdate.sh:第 96 行:[:-lt:预期一元运算符
psql:致命:用户“<ThingWorx 数据库用户>”的密码验证失败
从Id开始按降序迁移
psql:致命:用户“<ThingWorx 数据库用户>”的密码验证失败
thingworxPostgres<Table>DataUpdate.sh:第 111 行:[:-10000:预期一元运算符”
- psql:致命:用户“<ThingWorx 数据库用户>”的密码验证失败
这是文章 350444 的 PDF 版本,可能已过期。最新版本 CS350444