Got feedback or spotted a mistake?

Leave a comment at the end of this page or email contact@krishagni.com

Disk space issue

Delete MySQL logs.

If the MySQL log file is getting bigger day by day cleanup the file using the below steps.

Log file path (Windows) : C:\ProgramData\MySQL\MySQL Server 5.7\Data\<hostname>.log

Log file path (Linux) : /var/log/mysql/error.log

  1. Stop the Tomcat and MySQL service.

  2. Go to the log file location and compress the log file.

  3. Take a backup of this compressed file and delete the original log file.

  4. Start the MySQL(first) & Tomcat services.

Once everything works fine. The backup log file can be deleted if it is not required.

Got feedback or spotted a mistake?

Leave a comment at the end of this page or email contact@krishagni.com