Reputation: 5939
I'm using MySQL 5, and my database experienced some corruption last week. The technicians at my web host managed to save it, but the tables are all converted from the original InnoDB to MyISAM. Currently, some functions in my eCommerce application does not work.
Is there a easy way for me to convert them back to InnoDB again? I can't find anything in phpMyAdmin. Do I need to write a PHP script?
Thanks.
Upvotes: 2
Views: 1783
Reputation: 7421
If you want do this By Mysql application you can use MySQLQueryBrowser.exe or SQLYoq.exe in both of them you can alter Table and choose DB Engine
Upvotes: 1
Reputation: 12334
You can run this query:
ALTER TABLE table_name ENGINE = InnoDB;
on all tables
Upvotes: 7