Sep 19, 2018

How to flush MySQL error log.

mysql > flush error logs or shell > mysqladmin flush-logs error 


This won't affect the running MySQL server.

Only thing you need to be careful is that your server has enough space for the bigger error log file.