码迷,mamicode.com
首页 > 数据库 > 详细

MySQL Error--InnoDB Table mysqlinnodb_index_stats has length mismatch in the column

时间:2019-10-21 20:50:51      阅读:164      评论:0      收藏:0      [点我收藏+]

标签:col   report   innodb   run   执行   安装文件   mis   upgrade   数据   

使用MySQL 5.7.24版本的安装文件替换MySQL 5.7.19版本的安装文件,数据库复制频繁中断,查看error日志发现下面错误:

[Warning] InnoDB: Table mysql/innodb_index_stats has length mismatch in the column name table_name. Please run mysql_upgrade

解决办法:

在MySQL服务正常运行的状态下,使用mysql_upgrade命令进行处理:

mysql_upgrade --host=127.0.0.1 --port=3358 --user=root --password="password"

执行结果:

mysql_upgrade: [Warning] Using a password on the command line interface can be insecure.
Checking if update is needed.
Checking server version.
Running queries to upgrade MySQL server.
Checking system database.
mysql.columns_priv OK
report.ts_wcs_task_worker OK
report.ts_without_plan_container OK
report.ts_without_plan_picking OK
report.ts_without_plan_putaway OK
report.wms_restingorder_data OK
sys.sys_config OK
workflow_test.workflow_t1 OK
Upgrade process completed successfully.
Checking if update is needed.

 

MySQL Error--InnoDB Table mysqlinnodb_index_stats has length mismatch in the column

标签:col   report   innodb   run   执行   安装文件   mis   upgrade   数据   

原文地址:https://www.cnblogs.com/gaogao67/p/11715700.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!