Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Oct 2004
    Posts
    19

    Default Downgraded MySQL from 5 to 4.1, now problems

    I'm getting this message, and according to phpmyadmin - the tables are in use (Not all, only a handful):
    Table './DB/table' was created with a different version of MySQL and cannot be read
    Any ideas on how I can fix this?

  2. #2
    Member
    Join Date
    Mar 2006
    Posts
    1,215

    Default

    If you saved backups of version 5, you can recreate the accounts which should convert over without trouble. Atleast that worked for me when a client requested a downgrade.

    you could also try
    /scripts/mysqlup --force

  3. #3
    cPanel Partner NOC cPanel Partner NOC Badge AndyReed's Avatar
    Join Date
    May 2004
    Location
    Minneapolis, MN
    Posts
    2,223

    Default

    Quote Originally Posted by Sykoi
    Table './DB/table' was created with a different version of MySQL and cannot be read

    Any ideas on how I can fix this?
    Since you downgraded MySQL without taking a full dump and then restore of databases, this is very likely to happen. The error message is self-explanatory.

    If you have a backup, dump the database, and then restore it into 4.1.x.

    It is a very good idea, before MySQL upgrade/downgrade, is to have backups, to be on the safe side.

    If you go to: http://dev.mysql.com/doc/refman/5.0/en/downgrading.html at the bottom of the page, you'll read:

    "These steps are given in The normal symptom of a downward-incompatible table format change when you downgrade is that you can't open tables. In that case, use the following procedure:

    1- Stop the older MySQL server that you are downgrading to.

    2- Restart the newer MySQL server you are downgrading from.

    3- Dump any tables that were inaccessible to the older server by using mysqldump to create a dump file.

    4- Stop the newer MySQL server and restart the older one.

    5- Reload the dump file into the older server. Your tables should be accessible.
    Andy Reed
    RHCE and CCNA
    ServerTune.com

Similar Threads & Tags
Similar threads

  1. upcp downgraded my Perl installation :(
    By Kent Brockman in forum cPanel and WHM Discussions
    Replies: 11
    Last Post: 08-26-2009, 09:46 AM
  2. A account cannot be downgraded via XMLAPI?
    By mr5 in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 09-25-2007, 08:21 PM
  3. Downgraded from MYSQL 5, now mysql doesn't work
    By RampantLion in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 06-19-2006, 09:05 AM
  4. MySQL being upgraded/downgraded with nightly upcp?
    By btrieve in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 09-21-2005, 11:48 AM
  5. Perl downgraded itself
    By sigep739 in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 08-12-2005, 05:12 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube