ibdata / log 문제를 해결하는 동안 실수로 performance_schema데이터베이스를 삭제했습니다 . 새 데이터베이스를 만들고 싶습니다.
mysql> SHOW VARIABLES LIKE 'perf%';
+---------------------------------------------------+---------+
| Variable_name | Value |
+---------------------------------------------------+---------+
| performance_schema | ON |
| performance_schema_events_waits_history_long_size | 10000 |
| performance_schema_events_waits_history_size | 10 |
| performance_schema_max_cond_classes | 80 |
| performance_schema_max_cond_instances | 1000 |
| performance_schema_max_file_classes | 50 |
| performance_schema_max_file_handles | 32768 |
| performance_schema_max_file_instances | 10000 |
| performance_schema_max_mutex_classes | 200 |
| performance_schema_max_mutex_instances | 1000000 |
| performance_schema_max_rwlock_classes | 30 |
| performance_schema_max_rwlock_instances | 1000000 |
| performance_schema_max_table_handles | 100000 |
| performance_schema_max_table_instances | 50000 |
| performance_schema_max_thread_classes | 50 |
| performance_schema_max_thread_instances | 1000 |
+---------------------------------------------------+---------+
16 rows in set (0.06 sec)
그 변수는 나에게 괜찮은 것 같습니다.
다음 질문은 똑같은 질문이지만 사용자는 그러한 지침을 찾을 수없는 설명서를 따르면서 만들 수 있다고 결론을 내립니다.
mysql : performance_schema를 삭제했습니다. 문제입니까?
이견있는 사람?
mysql이렇게 한 후 서비스를 다시 시작하십시오 ! 다시 시작한 후에 만 작동했습니다.