您的位置:首页 > 数据库 > SQL

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>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐