"import tablespace" Doesn't Work
I've read the instructions (http://dev.mysql.com/doc/refman/5.0/en/multiple-tablespaces.html) a dozen times, but for the life of me I can't get "import tablespace" to work. I'm on MySQL 5.
First I copied my ibd to a safe place. Then:
mysql> use mydb
Database changed
mysql> alter table mytable discard tablespace;
Query OK, 0 rows affected (0.00 sec)
Looking at the datamart, mytable.frm was still there, but mytable.ibd was gone. Then I copied my backup of mytable.ibd back into mydb's datamart directory, and:
mysql> alter table mytable import tablespace;
ERROR 1030 (HY000): Got error -1 from storage engine
I've tried a bunch of variations (recreating mytable from scratch and deleting the .frm, etc.), but I always get the notorious error -1. Any ideas?
Kevin
Subject
Views
Written By
Posted
"import tablespace" Doesn't Work
2560
November 29, 2005 02:45PM
1718
December 02, 2005 07:17PM
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.