Monday 9 December 2019

HOW TO CHANGE STORAGE ENGINE OF A MYSQL DATABASE TABLE?

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

Method 1


  1. Login to phpMyAdmin.
  2. Navigate to database table whose storage engine you wish to change.
  3. Click on SQL tab, paste following query in query box and click on Go button.

    ALTER TABLE demo ENGINE = MyISAM;

    SQL Query Window

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.

    Table Options

0 comments:

Post a Comment