Chinaunix首页 | 论坛 | 博客
  • 博客访问: 408097
  • 博文数量: 43
  • 博客积分: 613
  • 博客等级: 中士
  • 技术积分: 756
  • 用 户 组: 普通用户
  • 注册时间: 2008-09-01 11:25
文章分类

全部博文(43)

文章存档

2016年(1)

2015年(5)

2014年(5)

2013年(14)

2012年(18)

分类: Mysql/postgreSQL

2013-10-17 11:10:44

服务器异常关机后重启mysql出现如下错误:

131016  9:21:09 [ERROR] Native table 'performance_schema'.'events_waits_history_long' has the wrong structure
131016  9:21:09 [ERROR] Native table 'performance_schema'.'setup_consumers' has the wrong structure
131016  9:21:09 [ERROR] Native table 'performance_schema'.'setup_instruments' has the wrong structure
131016  9:21:09 [ERROR] Native table 'performance_schema'.'setup_timers' has the wrong structure
131016  9:21:09 [ERROR] Native table 'performance_schema'.'performance_timers' has the wrong structure
131016  9:21:09 [ERROR] Native table 'performance_schema'.'threads' has the wrong structure

解决方法如下:

/usr/local/mysql/bin/mysql_upgrade
阅读(2143) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~