12.04 LTS upgrade után nem indul a mysql. A log szerint baj van az innodb-vel. valami inkompatibilitás lehet, de nem álltam neki vadászni.
120604 21:06:44 InnoDB: Error: trying to access tablespace 1 page no. 2,
InnoDB: but the tablespace does not exist or is just being dropped.
InnoDB: Error: Unable to read tablespace 1 page no 2 into the buffer pool after 100 attempts
InnoDB: The most probable cause of this error may be that the table has been corrupted.
InnoDB: You can try to fix this problem by using innodb_force_recovery.
Configba force recovery, ekkor legalább el fog indulni
[mysqld]
innodb_force_recovery=1
mysql-t elindít, db dump, leállítás és az eredeti állomanyok mentése:
service mysql start
mysqldump -p --all-databases >/tmp/dbdump
service mysql start
cp -rp /var/lib/mysql /var/lib/mysql.old
Apt-get-el újrahúztam a mysql-server-5.5 es mysql-common csomagokat. Végül importáltam a dumpot:
mysqld_safe --skip-grant-tables &
mysql <~/dbdump
pkill mysql
Voila rendben lefut a mysql start és vidámak a programok, hogy végre látják az adatbázist. Én meg morcos, hogy képtelenek egy release upgradet megcsinálni anélkül, hogy valamibe ne fussak bele.