Everytime I start MySQL, I receive the error:
Cannot open datafile for read-only: '.\deleteddatabase\deletedtable.ibd' OS error: 103
I can't DROP
the table, because it doesn't exist. There's no corresponding .frm
file. I presume that somewhere in ibdata1
there's a reference to this old InnoDB file.
How do I stop the error?
-
check this answer on stack dba.stackexchange.com/questions/54608/…Barsigo Patoo– Barsigo Patoo2018年05月15日 07:19:47 +00:00Commented May 15, 2018 at 7:19
1 Answer 1
I fixed this by creating the missing database and table (with just one field), then dropping both the database and table.