Skip to content

MySQL error logging

The MySQL error log records diagnostic information regarding server startup, shutdown, and any runtime errors that occur during operation^[600-developer-database-mysql-mysql-index.md].

Checking the error log configuration

To determine the current location or configuration of the error log, you can query the system variables^[600-developer-database-mysql-mysql-index.md]:

show variables like 'log_error';

Sources

  • 600-developer-database-mysql-mysql-index.md