|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: /var/log/mysql is taking up a lot of diskspace
From: Bazooka Joe (fastfish
gmail.com)
Date: Fri Jan 30 2009 - 23:23:13 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Fri, Jan 30, 2009 at 8:13 PM, will <will.vande
gmail.com> wrote:
> ok, cool. I was not sure if I could use logrotate with the mysql logs.
> Is it safe to delete what I have there at the moment? I need to free
> up some disk space.
>
this is what logrotate run before and after
[ -e /var/lock/subsys/mysqld ] && /bin/kill -HUP `cat
/var/run/mysqld/mysqld.pid 2> /dev/null ` || /bin/true
Assuming paths are the same I would run the above commands. Short of
that I would take down mysql, delete log, then bring mysql back up.
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]