Convert InnoDB to MyISAM with InnoDB disabled

可紊 提交于 2020-01-06 05:38:04

问题


I'm the lucker owner of a webhotel where the host changes settings without telling. When thats said, I have some tables in my database that are running with InnoDB engine. But over the night the host have disabled InnoDB, so I cant convert it to MyISAM with ALTER command.

Anyway I can get the data out of the database, or convert it to MyISAM when InnoDB is disabled?

Only thing I see all the time is,

#1033 - Incorrect information in file: 'file.frm'

Thanks.


回答1:


Unfortunately, you need to have InnoDB enabled so that MySQL could read the data for conversion.

To recover the data on another instance, you would need ibdata* files from MySQL root data directory as well as all *.ibd files from your database directory (if your MySQL setup had innodb_file_per_table enabled).



来源:https://stackoverflow.com/questions/4692895/convert-innodb-to-myisam-with-innodb-disabled

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!