Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Aug 2008
    Posts
    10

    Default MySQL corruption?

    Seems that we re now finding other issues with our cpanel installation..

    We have had cpanel running since the beginning of July, and have happily been placing customers accounts on the serve.

    Now it looks like mysql got corrupted on or before yesterday... so we have a corrupted mysql dataset. :-(

    We think (although not sure) it is because the mysql user could not write stuff due to quota limitations. As this user runs all the databases, it has resulted in very corrupt data files.

    It seems the mysql user was restricted by the looks of it.

    What is effected: anyone using mysql on the server.

    Is our analysis correct?

    How can it be fixed? (is trying to rebuild the corrupt dataset on another server and the porting back in an option?)

    How can this be prevented in the future?

    Any idea on what we may have done wrong?

    -DB

  2. #2
    Member
    Join Date
    Mar 2007
    Posts
    37

    Default

    Hello.

    You can probe with it.

    /scripts/cleanupmysqlprivs - Cleans up improper mySQL privileges.
    /scripts/fixmysql - Fixes problems with mySQL
    /scripts/mysqlup - Updates mySQL.

    Greetings.

  3. #3
    Member
    Join Date
    Aug 2008
    Posts
    10

    Default

    Thanks for the pointers... should we have given MySQL an unlimited quota to start with?

    -DB

  4. #4
    Member
    Join Date
    Mar 2007
    Posts
    37

    Default

    Hello,

    The quotas is create in the accounts of cPanel/WHM or in the packages.

    Greetings!

  5. #5
    cPanel Development cpanelkenneth's Avatar
    Join Date
    Apr 2006
    Posts
    3,788
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by cyberstrider View Post
    Thanks for the pointers... should we have given MySQL an unlimited quota to start with?

    -DB
    The MySQL system user should never have a quota.

Similar Threads & Tags
Similar threads

  1. Is anyone still facing Mysql DB corruption issues with OSCommerce
    By silversurfer in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 02-02-2004, 12:09 PM
  2. MySQL 4.0.15, Recurrent Corruption
    By arn in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 11-01-2003, 09:24 PM
  3. mysql 4 and data corruption
    By sosoalex in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 06-25-2003, 11:20 AM
  4. mysql table corruption with php apps.
    By cpanelnick in forum cPanel and WHM Discussions
    Replies: 114
    Last Post: 06-08-2003, 09:57 AM
  5. MySQL 4.0.12 Corruption People!!! READ!
    By shaun in forum cPanel and WHM Discussions
    Replies: 14
    Last Post: 05-19-2003, 03:20 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube