/
Disk space issue
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.

Related content

How to fix "out of memory" error ?
How to fix "out of memory" error ?
More like this
The server time zone value 'CDT' is unrecognised or represents more than one time zone.
The server time zone value 'CDT' is unrecognised or represents more than one time zone.
More like this
Error :Caused by: java.sql.SQLException: ORA-28001: the password has expired
Error :Caused by: java.sql.SQLException: ORA-28001: the password has expired
More like this
Technical problems and solutions
Technical problems and solutions
More like this
Database Backup & Restore
Database Backup & Restore
More like this
How to upgrade Tomcat?
How to upgrade Tomcat?
More like this
Got feedback or spotted a mistake?

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