Search Our Database

How to change database table engine types in phpMyAdmin

Last updated on |
by

Introduction

This article guides users on how to change the MySQL database table engine type using phpMyAdmin. It is intended for users with Plesk or DirectAdmin control panels. This solution is applicable when changing the engine type of MySQL tables is required, such as converting between InnoDB and MyISAM. The process involves accessing the control panel, running queries in phpMyAdmin, and applying changes to the database.

 

Prerequisites

  • Access to Plesk or DirectAdmin hosting control panel.
  • Existing MySQL database and database user credentials.
  • Basic familiarity with phpMyAdmin.

 

Step-by-Step Guide

Step 1: Log into your hosting control panel

  • For Plesk users, log in to the control panel and go to Database under the Applications & Services category. Once there, click on the small icon next to the selected MySQL database to proceed to phpMyAdmin.
  • For DirectAdmin users, log in to the control panel and click on phpMyAdmin under the Advanced Features category.

 

Step 2: Access the database in phpMyAdmin

Use an existing database user for the selected database to log in to phpMyAdmin.

 

Step 3: View database tables

On the phpMyAdmin main page, select the database to view the tables contained inside.

 

Step 4: View the database table engine type

The engine type of the database tables will be visible in the list of tables. To make changes, click on the SQL tab.

 

Step 5: Run the query to change the engine type

Insert the following query in the query field, replacing TableName with the name of the table you wish to modify, and click Go to execute:

ALTER TABLE TableName ENGINE = InnoDB;

Or, if changing to MyISAM:

ALTER TABLE TableName ENGINE = MyISAM;

 

Step 6: Confirm the change

If the query runs successfully, the database table engine type will be updated to the selected type.

 

 

Conclusion

Following these steps, you will successfully change the engine type of a MySQL table using phpMyAdmin. Ensure that you back up your database before making changes.

For additional assistance or if you encounter any issues, please contact our support team at support@ipserverone.com.

 

Article posted 23 February 2023 by Louis