mysqld.
| Log Type | Information Written to Log |
|---|---|
| The error log | Problems encountered starting, running, or stopping mysqld |
| The general query log | Established client connections and statements received from clients |
| The binary log | All statements that change data (also used for replication) |
| The slow query log | All queries that took more than long_query_time seconds to execute or did not use indexes |
mysqld data directory.
mysqld to close and reopen the log files by flushing the logs.
FLUSH LOGS statement
mysqladmin flush-logs
mysqladmin refresh
What does the error log contain?
© 2007 John Michael Pierobon