26 messages in com.mysql.lists.mysqlRe: error 1016 : cant open ibd file e...| From | Sent On | Attachments |
|---|---|---|
| Rithish Saralaya | 22 Feb 2006 03:15 | |
| Logan, David (SST - Adelaide) | 22 Feb 2006 21:11 | |
| Rithish Saralaya | 22 Feb 2006 21:12 | |
| Rithish Saralaya | 22 Feb 2006 22:31 | |
| Logan, David (SST - Adelaide) | 23 Feb 2006 04:10 | |
| Ady Wicaksono | 23 Feb 2006 04:19 | |
| Rithish Saralaya | 23 Feb 2006 05:38 | |
| Heikki Tuuri | 23 Feb 2006 06:21 | |
| sheeri kritzer | 23 Feb 2006 13:51 | |
| Rithish Saralaya | 23 Feb 2006 20:49 | |
| Rithish Saralaya | 23 Feb 2006 20:58 | |
| mys...@karsites.net | 23 Feb 2006 23:43 | |
| Heikki Tuuri | 24 Feb 2006 02:24 | |
| Rithish Saralaya | 25 Feb 2006 01:55 | |
| David Logan | 25 Feb 2006 02:01 | |
| Rithish Saralaya | 25 Feb 2006 02:16 | |
| Heikki Tuuri | 25 Feb 2006 02:34 | |
| mys...@karsites.net | 25 Feb 2006 06:42 | |
| Rithish Saralaya | 26 Feb 2006 21:08 | |
| Heikki Tuuri | 27 Feb 2006 00:23 | |
| jay | 27 Feb 2006 08:33 | |
| Philip Hallstrom | 27 Feb 2006 12:58 | |
| jay | 27 Feb 2006 16:05 | |
| Rithish Saralaya | 27 Feb 2006 21:01 | |
| Rithish Saralaya | 27 Feb 2006 21:21 | |
| mys...@karsites.net | 27 Feb 2006 23:51 |
| Subject: | Re: error 1016 : cant open ibd file even though it exists![]() |
|---|---|
| From: | sheeri kritzer (awf...@gmail.com) |
| Date: | 02/23/2006 01:51:51 PM |
| List: | com.mysql.lists.mysql |
What are the permissions on the files? Which user runs mysql? If you're not on Windows, is the case the same? When you type "mysqld --print-defaults" (or whatever your mysql server binary is), what directory shows up under "datadir"? Is it the same directory?
Sincerely,
Sheeri
On 2/23/06, Rithish Saralaya <rith...@tallysolutions.com> wrote:
Hello.
I get the following error when I try to query a table in a particular database (test). The error is generated for all tables within that database. However, 'mysql' database works fine.
ERROR 1016 (HY000): Can't open file: 'TBL_FORUM_MSG_BODY.ibd' (errno: 1)
However, I have noticed that both the .frm and the .ibd file exists for the table TBL_FORUM_MSG_BODY. Then why the error? I looked into the error log and it is as follows
060222 15:14:09 InnoDB error: Cannot find table test/TBL_FORUM_MSG_BODY from the internal data dictionary of InnoDB though the .frm file for the table exists. Maybe you have deleted and recreated InnoDB data files but have forgotten to delete the corresponding .frm files of InnoDB tables, or you have moved .frm files to another database? Look from section 15.1 of http://www.innodb.com/ibman.html how you can resolve the problem. 060222 15:14:09 [ERROR] /usr/sbin/mysqld: Can't open file: 'TBL_FORUM_MSG_BODY.ibd' (errno: 1)
I tried restarting MySQL service in the hope that INNoDB will recognise the files properly, but to no avail. Is there a way to find and correct what has gone wrong? Someone please say 'yes'...
I am on MySQL 4.1.11 with InnoDB as the storage engine and with per-table tablespace.
Regards, Rithish.




