【 使用环境 】测试环境
【 OB or 其他组件 】OMS
【 使用版本 】4.2.1
【问题描述】OBSCHEMA_ERROR : Failed to migrate the schemas. We recommend status filtering under the structure migration step for more information.
【复现路径】问题出现前后相关操作
【问题现象及影响】
【附件】
【 使用环境 】测试环境
【 OB or 其他组件 】OMS
【 使用版本 】4.2.1
【问题描述】OBSCHEMA_ERROR : Failed to migrate the schemas. We recommend status filtering under the structure migration step for more information.
【复现路径】问题出现前后相关操作
【问题现象及影响】
【附件】
提供一下oms的日志吧
截图看一下,另外oms容器中这个目录下的日志/home/admin/logs/ghana/Ghana,打包发上来
源端库和目标库的类型分别提供一下
java.sql.SQLException: (conn=30) Unknown collation: ‘utf8mb4_unicode_ci’ Query: create database if not exists yallagame_activity
character set utf8mb4 collate utf8mb4_unicode_ci Parameters: []
手动在目标库上执行一下,目标库这个utf8mb4_unicode_ci排序字符集可能没有
obclient [test]> create database if not exists yallagame_activity character set utf8mb4 collate utf8mb4_unicode_ci;
ERROR 1273 (HY000): Unknown collation: 'utf8mb4_unicode_ci
源端是MySQL 8.0.16版本
手动在目标段建库 按 COLLATE=utf8mb4_general_ci
可以建库,但是oms迁移仍然报错