Home > Database > Mysql Tutorial > body text

mysql5.0升级到5.1日志报错处理_MySQL

WBOY
Release: 2016-06-01 13:44:54
Original
1413 people have browsed it

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
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template