Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 17
  1. #1
    Member
    Join Date
    Jun 2003
    Posts
    20

    Default Cpanel + MySQL 4.0.13 = Corrupted databases?

    Is this a bug with mySQL or Cpanel?

    I had problems a few weeks ago with mySQL databases getting corrupted on my new server at XXX...

    Someone helped my diagnose and fix it by adjusting a higher setting for my mySQL connections... from 500 to 5000...

    it helped... and the databases quit corrupting as much... a couple have a few days ago and yesterday... so I upped my max connections to 10000 to see if it helps...

    I haven't seen any other posts about this... am I the only one having problems with them?

    +++

    Several people have told me that this is a problem with the new version of mySQL + Cpanel

    cPanel.net Support Ticket Number:

  2. #2
    Member casey's Avatar
    Join Date
    Jan 2003
    Location
    If there is trouble, it will find me
    Posts
    2,336

    Default

    What version of cPanel are you using?

    cPanel.net Support Ticket Number:

  3. #3
    Member
    Join Date
    Jun 2003
    Posts
    20

    Default

    WHM 6.4.2
    Cpanel 6.4.2-S75
    RedHat 7.3

    cPanel.net Support Ticket Number:

  4. #4
    Member
    Join Date
    Mar 2003
    Location
    England, UK
    Posts
    103

    Default

    hi,

    do this in root SSH and copy and paste what it outputs.

    cat /etc/my.cnf
    cPanel.net Support Ticket Number:
    -- I live to support clients ---

  5. #5
    Member
    Join Date
    Aug 2002
    Posts
    1,052

    Default

    Are the databases that are being corrupted always the same? Are the databases being manipulated with PHP?

    cPanel.net Support Ticket Number:

  6. #6
    Member
    Join Date
    Jun 2003
    Posts
    20

    Default

    Originally posted by ciphervendor
    Are the databases that are being corrupted always the same? Are the databases being manipulated with PHP?

    cPanel.net Support Ticket Number:
    No, and yes.




    carlgm, what does cat /etc/my.cnf do?

    cPanel.net Support Ticket Number:

  7. #7
    Member
    Join Date
    Jun 2003
    Posts
    20

    Default

    oh, my.cnf file contains this...


    [mysqld]
    set-variable = max_connections=10000

    cPanel.net Support Ticket Number:

  8. #8
    Member
    Join Date
    Mar 2003
    Location
    England, UK
    Posts
    103

    Default

    okay then, this is min requirement for mysql 4:

    Firstly delete it:
    rm /etc/my.cnf
    then reopen it in pico:
    pico -w /etc/my.cnf
    copy and paste:
    [mysqld]
    set-variable = max_connections=500
    skip-innodb
    query_cache_limit = 1M
    query_cache_size = 32M
    query_cache_type = 1
    then save:
    ctrl + x
    y
    enter
    cPanel.net Support Ticket Number:
    -- I live to support clients ---

  9. #9
    Member
    Join Date
    Jun 2003
    Posts
    20

    Default

    Thank you carlgm! I will see if this stops all the corruptions of my DBs!

    cPanel.net Support Ticket Number:

  10. #10
    Member
    Join Date
    Jun 2003
    Posts
    20

    Default

    nope... I just had to repair another database...

    cPanel.net Support Ticket Number:

  11. #11
    Member
    Join Date
    Jun 2002
    Posts
    233

    Default

    stop - start mysql?

    cPanel.net Support Ticket Number:
    Last edited by NeutralGold; 07-10-2003 at 12:33 AM.

  12. #12
    Member
    Join Date
    Mar 2003
    Location
    England, UK
    Posts
    103

    Default

    Originally posted by NeutralGold
    stop - start mysql?

    cPanel.net Support Ticket Number:
    I knew I forgot something.

    After you have changed it do this

    service mysql restart
    Now, that config is bare min and I would suggest having more options defined withih your /etc/my.cnf config file.

    cPanel.net Support Ticket Number:
    -- I live to support clients ---

  13. #13
    Member
    Join Date
    Jun 2003
    Posts
    20

    Default

    I'll see if this helps... thanks again!

    cPanel.net Support Ticket Number:

  14. #14
    Member
    Join Date
    Jun 2003
    Posts
    20

    Default

    this is still happening, does anyone know how to fix it?

    cPanel.net Support Ticket Number:

  15. #15
    Member
    Join Date
    Aug 2002
    Posts
    1,052

    Default

    Originally posted by GFED
    this is still happening, does anyone know how to fix it?

    cPanel.net Support Ticket Number:
    Hire a system admin.

    cPanel.net Support Ticket Number:

Similar Threads & Tags
Similar threads

  1. MySQL databases present, but not showing in cPanel's MySQL menu.
    By mikey2001 in forum Database Discussions
    Replies: 4
    Last Post: 02-22-2011, 01:24 PM
  2. Corrupted Mysql Dumps for CPanel Backups
    By silversurfer in forum cPanel and WHM Discussions
    Replies: 19
    Last Post: 03-26-2008, 01:05 AM
  3. Databases suddenly dissapears / get corrupted
    By kimenge in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 06-12-2007, 05:28 PM
  4. Where does cpanel keep it's mysql databases.
    By brad457 in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 01-26-2004, 03:03 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube