[BlueOnyx:15972] Re: mysqld.log
Gerald Waugh
gwaugh at frontstreetnetworks.com
Wed Sep 17 03:27:47 -05 2014
service mysqld stop
cat /dev/null > /var/log/mysqld.log
service mysqld start
On 09/17/2014 03:12 AM, Colin Jack wrote:
> I want to migrate a VPS this evening and am just trimming it down to size as it will be going over the internet ... starting with the logs.
>
> I notice that the mysqld.log is 38Gb in size ..... eek!
>
> Can I safely cut this down/remove it and replace it with a blank?
>
service mysqld stop
cat /dev/null > /var/log/mysqld.log
service mysqld start
--
Gerald
More information about the Blueonyx
mailing list