您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息

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

2025/6/8 12:13:04发布15次查看
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
该用户其它信息

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录 Product