How to Delete or Drop a Table in phpMyAdmin

When working with databases, you can use the phpMyAdmin tool to create database, tables, and add content. Along with normal data addition, you may also need to reorganize the way your data is stored. This may involved removing data, or even deleting tables from you databases. This tutorial will guide you on the process of dropping a table within the phpMyAdmin database management tool.

Note that when deleting or dropping a table, the data will be removed permanently. Please ensure that you do not need the data for any program before dropping the table.

Deleting or dropping a table in phpMyAdmin

  1. Log into your cPanel interface.
  2. From the main cPanel screen, look for the Databases category and click on the phpMyAdmin tool icon.
  3. click databases button

    Once you are in the phpMyAdmin tool, find and click on the database name that contains the table you want to drop.

  4. select the drop link for desired tableAfter clicking the database name, the tables will be listed in the right hand panel. Locate the table you want to drop and select the Drop link.

  5. You will receive a popup. Click the OK button to confirm the delete.
  6. You will receive a deletion success message and see your table disappear from the list. Below is a quick before and after shot of the table list for a successful deletion.
    Before After
    before table deletion

    after table deletion

Thoughts on “How to Delete or Drop a Table in phpMyAdmin

  • What would be really useful is to teach us how to drop the prefix too “_test”

    and what if there are many of them?

    • Hello,

      Are you meaning the prefix of the tables? such as wp_options (for wordpress tables) or the database itself such as userna5_test? Prefixes of tables are set within their specific CMS. Table prefixes are set by the server and not possible to remove on a shared environment.

      Kindest Regards,
      Scott M

Leave a Reply