mysqldump: Got error: 1146: Table 'performance_schema.cond_instances' doesn't exist when using LOCK
2016-09-19 11:03
1656 查看
[root@node1bak opt]# mysqldump -uroot -p'evis123' -S /data/3306/mysql.sock -A -B --lock-tables=0 > /opt/evis_test.sql
Error: Couldn't read status information for table cond_instances ()
mysqldump: Couldn't execute 'show create table `cond_instances`': Table 'performance_schema.cond_instances' doesn't exist (1146)
[root@node1bak opt]#
查看库里是有这个表的:
mysql> show tables;
+----------------------------------------------+
| Tables_in_performance_schema |
+----------------------------------------------+
| cond_instances |
| events_waits_current |
| events_waits_history |
| events_waits_history_long |
| events_waits_summary_by_instance |
| events_waits_summary_by_thread_by_event_name |
| events_waits_summary_global_by_event_name |
| file_instances |
| file_summary_by_event_name |
| file_summary_by_instance |
| mutex_instances |
| performance_timers |
| rwlock_instances |
| setup_consumers |
| setup_instruments |
| setup_timers |
| threads |
+----------------------------------------------+
17 rows in set (0.00 sec)
但是去查看的时候就报不存在:
mysql> show create table `cond_instances`;
ERROR 1146 (42S02): Table 'performance_schema.cond_instances' doesn't exist
mysql>
Error: Couldn't read status information for table cond_instances ()
mysqldump: Couldn't execute 'show create table `cond_instances`': Table 'performance_schema.cond_instances' doesn't exist (1146)
[root@node1bak opt]#
查看库里是有这个表的:
mysql> show tables;
+----------------------------------------------+
| Tables_in_performance_schema |
+----------------------------------------------+
| cond_instances |
| events_waits_current |
| events_waits_history |
| events_waits_history_long |
| events_waits_summary_by_instance |
| events_waits_summary_by_thread_by_event_name |
| events_waits_summary_global_by_event_name |
| file_instances |
| file_summary_by_event_name |
| file_summary_by_instance |
| mutex_instances |
| performance_timers |
| rwlock_instances |
| setup_consumers |
| setup_instruments |
| setup_timers |
| threads |
+----------------------------------------------+
17 rows in set (0.00 sec)
但是去查看的时候就报不存在:
mysql> show create table `cond_instances`;
ERROR 1146 (42S02): Table 'performance_schema.cond_instances' doesn't exist
mysql>
相关文章推荐
- mysqldump: Got error: 1146: Table 'performance_schema.cond_instances' doesn't exist when using LOCK
- mysqldump: Got error: 1142: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'accounts' when using LOCK TABLES
- mysqldump: Got error: 1066: Not unique table/alias: 'dept' when using LOCK TABLES
- Centos下_MysqL5.7在使用mysqldump命令备份数据库报错:mysqldump: Got error: 1449: The user specified as a definer ('fk_system'@'localhost') does not exist when using LOCK TABLES
- ERROR 1146 (42S02): Table 'performance_schema.session_variables' doesn't exist
- mysql -- mysqldump错误:Got error: 1044: Access denied for user ... when using LOCK TABLES
- 备份错误mysqldump: Got error: 1016 when using LOCK TABLES
- mysql升级5.7失败,报错[Err] 1146 - Table 'performance_schema.session_status' doesn't exist
- MySQL中报错: [Err] 1146 - Table 'performance_schema.session_status' doesn't exist 解决办法
- MySQL中报错: [Err] 1146 - Table 'performance_schema.session_status' doesn't exist 解决办法
- 在给mysql数据库备份时,报错: mysqldump: Got error: 145: Table '.\shengdaxcom\pre_forum_thread' is marked as c rashed and should be repaired when using LOCK TABLES
- mysql5.7.1.16出现[Err] 1146 - Table 'performance_schema.session_status' doesn't exist的解决办法
- mysqldump: Got error: 1044: Access denied…when using LOCK TABLES
- mysqldump: Got error: XX: File ' XXX.MYD' not found (Errcode: 24) when using LOCK TABLES
- [Err] 1146 - Table 'performance_schema.session_status' doesn't exist
- mysql5.7.1.16出现[Err] 1146 - Table 'performance_schema.session_status' doesn't exist的解决办法
- Got error: 1449: The user specified as a definer ('root'@'%') does not exist when using LOCK TAB
- mysql出现Table doesn’t exist when using LOCK TABLES的情况
- mysql [Err] 1146 - Table 'performance_schema.session_status' doesn't exist
- mysql -- mysqldump错误:Got error: 1044: Access denied for user ... when using LOCK TABLES (转载)