How to change storage engine of a MySQL database table?

Databases > MySQL
Following article describes the steps to change storage engine of a MySQL database table. Assume that you want to change storage engine of a database table from MyISAM to InnoDB  .
 

Method 1

  1. Login to phpMyAdmin.
     
  2. Navigate to database table whose storage engine you wish to change.
     
  3. Click on SQL tab, paste this query "ALTER TABLE tablename ENGINE = InnoDB ;" in query box and click on Go button.
 

Method 2

  1. Login to phpMyAdmin.
     
  2. Navigate to database table whose storage engine you wish to change.
     
  3. Click on Operations tab, under Table options you would find drop down called Storage Engine.
     
  4. Select storage engine of your choice from the Storage Engine drop down and click on Go button.