在my.ini文件添加下面这行:spa
innodb_force_recovery = 1
能够解决:InnoDB: Attempted to open a previously opened tablespace 错误code