mysql - [错误] native 表性能架构的结构错误

标签 mysql structure

150814  9:09:14 [ERROR] Native table 'performance_schema'.'events_waits_current' has the wrong structure
150814  9:09:14 [ERROR] Native table 'performance_schema'.'events_waits_history' has the wrong structure
150814  9:09:14 [ERROR] Native table 'performance_schema'.'events_waits_history_long' has the wrong structure
150814  9:09:14 [ERROR] Native table 'performance_schema'.'setup_consumers' has the wrong structure
150814  9:09:14 [ERROR] Native table 'performance_schema'.'setup_instruments' has the wrong structure
150814  9:09:14 [ERROR] Native table 'performance_schema'.'setup_timers' has the wrong structure
150814  9:09:14 [ERROR] Native table 'performance_schema'.'performance_timers' has the wrong structure
150814  9:09:14 [ERROR] Native table 'performance_schema'.'threads' has the wrong structure
150814  9:09:14 [ERROR] Native table 'performance_schema'.'events_waits_summary_by_thread_by_event_name' has the wrong structure
150814  9:09:14 [ERROR] Native table 'performance_schema'.'events_waits_summary_by_instance' has the wrong structure
150814  9:09:14 [ERROR] Native table 'performance_schema'.'events_waits_summary_global_by_event_name' has the wrong structure
150814  9:09:14 [ERROR] Native table 'performance_schema'.'file_summary_by_event_name' has the wrong structure
150814  9:09:14 [ERROR] Native table 'performance_schema'.'file_summary_by_instance' has the wrong structure
150814  9:09:14 [ERROR] Native table 'performance_schema'.'mutex_instances' has the wrong structure
150814  9:09:14 [ERROR] Native table 'performance_schema'.'rwlock_instances' has the wrong structure
150814  9:09:14 [ERROR] Native table 'performance_schema'.'cond_instances' has the wrong structure
150814  9:09:14 [ERROR] Native table 'performance_schema'.'file_instances' has the wrong structure
150814  9:09:14 [Note] /usr/libexec/mysqld: ready for connections.
Version: '5.5.44-cll-lve'  socket: '/var/lib/mysql/mysql.sock'  port: 3306  MySQL Community Server (GPL) by Atomicorp

然后我跑

mysql_upgrade

显示:

寻找 'mysql' 作为:mysql

寻找 'mysqlcheck' 作为:mysqlcheck

fatal error :升级失败

最佳答案

这似乎发生在您完成升级之后。只需重启mysql:

service mysql restart

现在错误应该已经消失了。

关于mysql - [错误] native 表性能架构的结构错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32000911/

相关文章:

php - CodeIgniter 存储过程的多个结果

javascript - 我怎样才能在同一个函数中收到多个 ajax 响应

php - 从数组中检索单个数据

javascript - 从数组中删除随机字符串,JavaScript

mysql - MySQL 的数据库替代品可用于数百万个表

C、结构、简单示例抗议语法已更新

mysql - ORDER BY 时间戳, future 和过去之间为 NULL

c - 通过指向指针结构的指针访问内存

objective-c - 基于文档的应用程序的核心数据版本控制

mysql - 如何从 .csv 文件创建 Hive 表,该文件有一列,字段由分号分隔;