使用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.

最新文章

  1. C语言计算字符串子串出现的次数
  2. 常用数据库的驱动程序及JDBC URL:
  3. String的compareTo()方法返回值
  4. 在delphi的exe文件中嵌入另外一个exe文件
  5. Good Bye 2015 C - New Year and Domino
  6. MySQL 线上配置文件
  7. linux之GDB常用命令汇总
  8. 关于NIOS ii烧写的几种方式
  9. vue.js之组件(上篇)
  10. 20155312 张竞予 Exp6 信息搜集与漏洞扫描
  11. 峰值QPS/QPS/PV/UV/服务器数量/并发数/吐吞量/响应时间计算公式
  12. [Aaronyang] 写给自己的WPF4.5 笔记7[三巴掌-ItemsControl数据绑定详解与binding二次处理 3/3]
  13. Ubuntu下teamviewer的安装
  14. day43-socketserver
  15. PropertyGrid控件动态生成属性及下拉菜单 (转)
  16. ipython是python的交互式shell工具
  17. [hihoCoder] 第四十九周: 欧拉路·一
  18. char型指针和字符串字面量和字符数组
  19. Flutter - 创建横跨所有页面的侧滑菜单
  20. Codeforces Round #477 (rated, Div. 2, based on VK Cup 2018 Round 3) D 贪心

热门文章

  1. Media Formatters(媒体格式化器)
  2. Excel 文本函数
  3. P3613 【深基15.例2】寄包柜
  4. [LeetCode] 285. Inorder Successor in BST 二叉搜索树中的中序后继节点
  5. java 获取用户输入
  6. hbase 查看元数据
  7. 大话设计模式Python实现-策略模式
  8. 【记录】【idea】【mysql】Server returns invalid timezone. Go to 'Advanced' tab and set 'serverTimezone' property manually.解决问题
  9. win10 配置IIS
  10. python 属性描述符