Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • This worked well for me on CentOS MariaDB 10.2.31. I was looking for a solution that did not require restart of the MySQL service and this was it. The key is creating the the set of clean innodb_table2 files (innodb_table2.frm and innodb_table2.ibd) and placing both of them over the innodb_table files. Commented Jun 25, 2020 at 14:05
  • This worked for me also on CentOS 10.1.48-MariaDB Commented Apr 6, 2021 at 12:11
  • My error leading to the duplication of the problem: Status: "InnoDB: Error: Attempted to open a previously opened tablespace. Previous tablespace mysql/innodb_table_stats uses space ID: 203534 at filepath: ./mysql/innodb_table_stats.ibd. Cannot open tablespace mysql/innodb_table_stats2 which uses space ID: 203534 at filepath: ./mysql/innodb_table_stats2.ibd" Commented Mar 30, 2022 at 11:40