mysql5.0升级到5.1日志报错处理_MySQL
来源:动视网
责编:小采
时间:2020-11-09 18:10:13
mysql5.0升级到5.1日志报错处理_MySQL
mysql5.0升级到5.1日志报错处理_MySQL:bitsCN.com 今天生产环境的mysql从5.0升级到了5.1,结果日志报错,如下 Event Scheduler: An error occurred when initializing system tables. Disabling the Event Scheduler. mysql.user has no `Event
导读mysql5.0升级到5.1日志报错处理_MySQL:bitsCN.com 今天生产环境的mysql从5.0升级到了5.1,结果日志报错,如下 Event Scheduler: An error occurred when initializing system tables. Disabling the Event Scheduler. mysql.user has no `Event

bitsCN.com
今天生产环境的mysql从5.0升级到了5.1,结果日志报错,如下
Event Scheduler: An error occurred when initializing system tables. Disabling the Event Scheduler.
mysql.user has no `Event_priv` column at position 29
解决办法:
修复mysql系统表
mysql_fix_privilege_tables
或者提供密码修复
mysql_fix_privilege_tables --password=root_password
mysql_fix_privilege_tables脚本可以执行将系统表转换为当前格式的任何动作。运行时你可能会看见一些Duplicate column name警告;你可以忽略它们。
作者“君子博学而日参省乎己..”
bitsCN.com
mysql5.0升级到5.1日志报错处理_MySQL
mysql5.0升级到5.1日志报错处理_MySQL:bitsCN.com 今天生产环境的mysql从5.0升级到了5.1,结果日志报错,如下 Event Scheduler: An error occurred when initializing system tables. Disabling the Event Scheduler. mysql.user has no `Event