Results 1 to 4 of 4

Thread: mysql servername-bin files

  1. #1
    Member
    Join Date
    Sep 2001
    Posts
    81

    Default mysql servername-bin files

    Hi,

    My server: Redhat enterprise linux P4 with Cpanel

    In my var/lib/mysql directory there are over 1,500 files with the format:

    myservername-bin.1234 where 1234 is the numbers starting at 001 and going up to over 1500

    The dates of the files are from 2 years ago up through today.

    Does anyone know what these files are and how they get there? I am thinking they may be tmp files, but I want to know for sure before I do anything with them.

    Thanks!

  2. #2
    Member
    Join Date
    Sep 2001
    Posts
    81

    Default

    Anyone? I sure would like to recover this disk space if those files can be deleted.

  3. #3
    Member
    Join Date
    Jan 2004
    Posts
    49

    Default

    Hi there,

    as i know...

    1) stop service mysql
    2) delete the files
    3) start service mysql

    regards

  4. #4
    Member bijo's Avatar
    Join Date
    Aug 2004
    Location
    India
    Posts
    475

    Default

    Quote Originally Posted by hostseeker
    Hi,

    My server: Redhat enterprise linux P4 with Cpanel

    In my var/lib/mysql directory there are over 1,500 files with the format:

    myservername-bin.1234 where 1234 is the numbers starting at 001 and going up to over 1500

    The dates of the files are from 2 years ago up through today.

    Does anyone know what these files are and how they get there? I am thinking they may be tmp files, but I want to know for sure before I do anything with them.

    Thanks!

    Hello,

    Did you set replication on your server ?. This files are used for mysql replication. Check your my.cnf file and remove the lines like
    --------------------------------------
    log-bin=mysql-bin
    server-id=1
    -------------------------------------

    Then restart mysql. It will help you
    Bijo
    Yahoo: "bijo505"
    Msn: "bijo_baby@hotmail.com"
    AIM: "bijobaby"

    http://slashome.com

Similar Threads

  1. /var/lib/mysql/servername-bin files
    By verdon in forum cPanel & WHM Discussions
    Replies: 8
    Last Post: 09-13-2007, 02:01 PM
  2. mysql one-bin files filling hard drive
    By surfalot in forum cPanel & WHM Discussions
    Replies: 2
    Last Post: 07-26-2007, 12:56 AM
  3. tons of mysql-bin.00**** files
    By t9clkclnr in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 06-04-2007, 11:49 AM
  4. Any idea what is cuasing all these bin files in /var/lib/mysql ?
    By Vatoloco in forum cPanel & WHM Discussions
    Replies: 3
    Last Post: 05-03-2005, 01:34 PM
  5. server#-bin.### files in /var/lib/mysql/
    By fishfreek in forum cPanel & WHM Discussions
    Replies: 3
    Last Post: 10-27-2004, 02:48 PM