Reputation: 1691
I built a system 5 years ago. These years, localhost.log in client mysql database has been accumulated to 160G. Can I just delete this log? MySQL version is 4.0.20.
Upvotes: 0
Views: 1144
Reputation: 59563
Yes. IIRC, you want to use the following procedure:
mv
or ren
depending on the platform.mysqladmin flush-logs
. This should create a new localhost.log
This procedure let's you delete the log without restarting the MySQL process.
Upvotes: 1