delete all tables in db phpmyadmin code example

Example: phpmyadmin delete all tables

WARNING!  Dropping tables in your database permanently deletes the table and all the data stored in that table.  Make sure that none of your applications or websites rely on information contained in the table(s) you are deleting.

Begin by accessing phpMyAdmin via cPanel or Plesk.

    1. Select the database you wish to work with (from the list of databases on the left column when on the phpMyAdmin home page).
    2. A list of tables will appear in the left column and in the wider right column.
    3. Check the table(s) you wish to drop (permanently delete).
    4. In the drop down box that initially says “With selected:” select “Drop” from this list.
    5. It will ask you if you really want to drop the table(s).  Check to make sure you selected the tables you really want to delete.
    6. Click on Yes to drop (delete) the table.

At this point, the table has been dropped from the database, including everything that used to be in it.

Tags:

Php Example