0

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?

1

1 Answer 1

1

I fixed this by creating the missing database and table (with just one field), then dropping both the database and table.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.