[bug] Cannot proceed because system tables used by Event Scheduler were found damaged at server sta

Posted 熊二

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了[bug] Cannot proceed because system tables used by Event Scheduler were found damaged at server sta相关的知识,希望对你有一定的参考价值。

本地:mac 10.12.3  mysql 5.6

远程:linux 7.3    mysql 5.7.18.  (远程数据库yum安装,又5.6升级到5.7)

步骤:从本地数据库导出数据到远程数据库

现象:表,存储过程都可以同步过去,

当执行:show events ;

出现

Cannot proceed because system tables used by Event Scheduler were found damaged at server start

 

原因:5.6升级到5.7的时候,数据库配置表的结构发生了一些变化(事件相关)

解决方法:

1.退出mysql,进入shell环境

2.mysql_upgrade -uaccount -ppassword. (升级表结构)

3.systemctl restart mysqld (重启mysqld服务器)

 

以上是关于[bug] Cannot proceed because system tables used by Event Scheduler were found damaged at server sta的主要内容,如果未能解决你的问题,请参考以下文章

cannot import name dispersion_plot----------nltk小bug

Xamarin.Forms bug? System.ObjectDisposedException: Cannot access a disposed object

dubbo 2.5.3 curator Path cannot be null bug

BUG:Cannot change version of project facet Dynamic web module to 2.5

数据转换bug花了半天时间 Java.math.BigDecimal cannot be cast to java.lang.String

复盘BEC被盗事件,UDomain教你避免悲剧重演