The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Mysql Directory taking up a lot of space

Discussion in 'General Discussion' started by romanus, Aug 25, 2006.

  1. romanus

    romanus Well-Known Member

    Joined:
    Jul 17, 2004
    Messages:
    68
    Likes Received:
    0
    Trophy Points:
    6
    Can anyone tell me wether its safe for me to delete host-bin.001 type files and what are they? I am also wondering if it is safe to delete a .err and .pid file?

    I have about 12gig of these files dating back 4 months.

    Thanks for your help
     
  2. AndyReed

    AndyReed Well-Known Member
    PartnerNOC

    Joined:
    May 29, 2004
    Messages:
    2,222
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Minneapolis, MN
    Yes, you can delete those files, unless you're running a master/slave replication setup.

    Check your mysql variables SHOW VARIABLES for log_bin, make sure it's off. You can also disable that in /etc/my.cnf. It's not required for MySQL to run, any way.
     
    #2 AndyReed, Aug 25, 2006
    Last edited: Aug 25, 2006
Loading...

Share This Page