Re: How to restore innoDB tables without ibdata1
Posted by:
T.F. Seak
Date: April 03, 2009 03:51AM
> Unless you specified innodb_file_per_table=1 (and
> by default it is not specified), all table data is
> in the ibdata1 file.
I was also in the same situation as the original poster... I don't understand how on Earth they in MySql would think of putting all data in a file outside the directory.... This is purely counter-intuitive!
Usually when I update MySQL server version, I would export all the data and import them again using MySQL Administrator. But a year ago, late in the night, I uninstalled MySQL a little too fast as I hadn't exported any data. I can't remember what I had done exactly, but I vaguely remember I had installed immediately the same MySQL version back but I wasn't able to find any data back! Then I move the whole "data" directory to a save and I was busy on other things during the whole year and now I came back to this problem. But when I check the content of "ibdata1" file, it's all ZERO!! Visibly, all my data are lost! Jeez...
So, where could I specify such variable?
Hmm, every time when I install a new version of MySQL server, I have a lot of configurations to do. I think I'd better create a batch file to do such work once and for all. Anyone has any idea or link?
Subject
Views
Written By
Posted
8343
January 14, 2009 10:15AM
3797
January 15, 2009 10:29PM
3568
January 17, 2009 07:03AM
Re: How to restore innoDB tables without ibdata1
4744
April 03, 2009 03:51AM
5334
January 21, 2009 07:27PM
3053
January 23, 2009 05:13AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.