MySQL Error--InnoDB Table mysqlinnodb_index_stats has length mismatch in the column
2024-08-31 13:07:06
使用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= --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.
最新文章
- C语言计算字符串子串出现的次数
- 常用数据库的驱动程序及JDBC URL:
- String的compareTo()方法返回值
- 在delphi的exe文件中嵌入另外一个exe文件
- Good Bye 2015 C - New Year and Domino
- MySQL 线上配置文件
- linux之GDB常用命令汇总
- 关于NIOS ii烧写的几种方式
- vue.js之组件(上篇)
- 20155312 张竞予 Exp6 信息搜集与漏洞扫描
- 峰值QPS/QPS/PV/UV/服务器数量/并发数/吐吞量/响应时间计算公式
- [Aaronyang] 写给自己的WPF4.5 笔记7[三巴掌-ItemsControl数据绑定详解与binding二次处理 3/3]
- Ubuntu下teamviewer的安装
- day43-socketserver
- PropertyGrid控件动态生成属性及下拉菜单 (转)
- ipython是python的交互式shell工具
- [hihoCoder] 第四十九周: 欧拉路·一
- char型指针和字符串字面量和字符数组
- Flutter - 创建横跨所有页面的侧滑菜单
- Codeforces Round #477 (rated, Div. 2, based on VK Cup 2018 Round 3) D 贪心
热门文章
- Media Formatters(媒体格式化器)
- Excel 文本函数
- P3613 【深基15.例2】寄包柜
- [LeetCode] 285. Inorder Successor in BST 二叉搜索树中的中序后继节点
- java 获取用户输入
- hbase 查看元数据
- 大话设计模式Python实现-策略模式
- 【记录】【idea】【mysql】Server returns invalid timezone. Go to 'Advanced' tab and set 'serverTimezone' property manually.解决问题
- win10 配置IIS
- python 属性描述符