Sep 22, 2017

Flushing and Renaming MySQL Error Log File

Flushing and Renaming the Error Log File


You can flush the logs using FLUSH LOGS or mysqladmin flush-logs
shell> mv /var/log/mysqld.log /var/log/mysqld.log_old
mysql > flush error logs or shell > mysqladmin flush-logs error