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:
- Rename the log using
mv
orrain
. Use -
mysqladmin flush-log
. Remove this old name from a newlocalhost.log
- which you have renamed.
This process removes the logs without restarting the MySQL process.
Comments
Post a Comment