灯火互联
管理员
管理员
  • 注册日期2011-07-27
  • 发帖数41778
  • QQ
  • 火币41290枚
  • 粉丝1086
  • 关注100
  • 终身成就奖
  • 最爱沙发
  • 忠实会员
  • 灌水天才奖
  • 贴图大师奖
  • 原创先锋奖
  • 特殊贡献奖
  • 宣传大使奖
  • 优秀斑竹奖
  • 社区明星
阅读:1730回复:0

[mysql]MySQL,4.0升级到5.1遇到一个问题

楼主#
更多 发布于:2012-09-01 02:11

数据库数据量暴增,对比其他业务类似的数据库发现某个表的数据量异常,最后确定了一个重复迁移数据的bug...


120301 17:30:43 [ERROR] Column count of mysql.db is wrong. Expected 22, found 15. The table is probably corrupted
120301 17:30:43 [ERROR] mysql.user has no `Event_priv` column at position 29
120301 17:30:43 [ERROR] Event Scheduler: An error occurred when initializing system tables. Disabling the Event Scheduler.


4.0升级5.1 SA工程师在写自动脚本shi忘记./bin/mysql_upgrade  -u root -p --sock=/tmp/mysql5.sock了

喜欢0 评分0
游客

返回顶部