![]() ![]() This log can be enabled by the following option in /etc/my.cnf file: Logs queries that took more than long_query_time seconds to execute. general_log_file=/var/log/mysql/general.log.This log can be enabled by having the following option in /etc/my.cnf file: Logs established client connections and statements received from clients. Logs all the problems encountered during starting, running, or stopping mysqld. Let’s look at how to setup the following 3 types of logs: Error Log In this blog post, we describe some best practices for setting up and managing MySQL error logs, general logs and slow query logs for your MySQL deployments. This is why it’s important to have an automated way of archiving and preserving MySQL log files for a certain duration, as well as deleting the old ones. However, once these logs are enabled, they can grow in size and start taking up too much disk space. MySQL Server generates several logs that can help you monitor the activities of the server. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |