Your data is gone (unless you can undelete it from whatever filesystems you're using).
You should be able to recover the schema from the directories and .frm files by doing
something like this hack:
1. Take a copy of your .frm files and keep them somewhere safe.
2. Create a database with tables of same name as the XXX.frm files. Just make the tables
with one column and don't put any data in them.
3. Stop the mysqld and replace the newly created .frm files with saved .frm files
4. Start mysqld and the tables should be replaced with the old ones but with no data.
From: Sebastien MORETTI [mailto:sebastien.moretti@stripped]
Sent: 27 May 2009 07:41
Subject: ibdata1 lost
Is there a way to recover data and/or database schema when ibdata1 file
has been removed (for InnoDB databases) ?
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/mysql?unsub=1