更新MySQL NSM数据库时、将SnapCenter 升级到4.6P1失败
适用场景
- SnapCenter 服务器( SC ) 4.5
- SnapCenter MySQL NSM数据库
- 升级到4.6P1
问题描述
- 在升级期间、将SC从4.5升级到4.6P1失败、并显示以下错误:
Error: SnapCenter Schema Creation failed. Check the DotMigrate logs in the Windows Temp folder for more details
- DotMigrate日志显示错误:
Executing 11 SQL scripts to update database schema to 4.6.7.2
SchemaVersion = { Id = [338], Version = [4.6.1.1], ScriptName = [4.6.1.0001_Update_SCV_ObjectTypeID.sql], SHA1 = [70ddf027c6180b7b204d91422b5b84158cf57793], User = [domain\username], StartTimeUtc = [date_time], ElapsedTime = [], IsSuccess = [False], Error = [] }
Executing SQL script user_folder\AppData\Local\Temp\0rdr3zpr.tur\4.6\4.6.1.0001_Update_SCV_ObjectTypeID.sql
Error: executing SQL script user_folder\AppData\Local\Temp\0rdr3zpr.tur\4.6\4.6.1.0001_Update_SCV_ObjectTypeID.sql
Error: Duplicate entry '16' for key 'PRIMARY'