migrating innodb ib* files to different server and distribution.

Posted by 3molo on Server Fault See other posts from Server Fault or by 3molo
Published on 2010-12-22T10:53:22Z Indexed on 2010/12/22 10:55 UTC
Read the original article Hit count: 244

Filed under:
|

One of our customers had a break in on an old centos 4.4 machine, so I booted a debian live cd and copied the whole /var/lib/mysql. I then, on a new debian, copied the desired database and ibdata+iblogfiles, and removed the "autoextend" bits from my.cnf - restarted mysql.

But I get 'Incorrect information in file'. Paths are the same as the old centos server, and permissions and ownership is correct. What am I missing?

© Server Fault or respective owner

Related posts about mysql

Related posts about innodb