Can I just delete mysql localhost.log file -


I have created a system five years ago In these years, the localhost.log client mine database has been stored in 160G . Can I just delete this log? MySQL version is 4.0.20

Yes IIRC, you want to use the following procedure:

  1. Rename the log using mv or rain . Use
  2. mysqladmin flush-log . Remove this old name from a new localhost.log
  3. which you have renamed.

This process removes the logs without restarting the MySQL process.


Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

php - jQuery AJAX Post not working -