MySQL error code
MySQL error 4002
MySQL server error 4002 is ER_DA_ERROR_LOG_TABLE_DISABLED, reported with SQLSTATE HY000.
None of the log-sinks selected in @@global.log_error_services supports writing to the performance schema. The server will not be able to make the current runs' error events available in performance_schema.error_log. To change this, add a log-sink that supports the performance schema to @@global.log_error_services.
| Error | 4002 |
|---|---|
| Name | ER_DA_ERROR_LOG_TABLE_DISABLED |
| SQLSTATE | HY000 |
| Group | Server errors |
Source: MySQL 8.4 Error Reference