Sunday, March 22, 2009

How to change Mysql database storage engine

The default Mysql database storage engine is MyISAM. But if you want to implement foreign key constraints you should have the InnoDB storage engine. Lets see how we can change it. I will use the phpMyAdmin to do the operation.

change Mysql database storage engine 1

Select the table you want and press the "Operations" tab.

change Mysql database storage engine 2


change Mysql database storage engine 3

Now select a Storage Engine you like from the drop down menu and press "Go" button.

change Mysql database storage engine 4

No comments:

Post a Comment