Dropping Database/Table

Last updated: 2020-03-17 18:00:37

PDF

Via the GUI of the phpMyAdmin Console

Dropping a Database

  1. Log in to the phpMyAdmin Console, click the name of database to be managed to enter the database management page, and click Operation.
  2. You can perform various operations on databases on this page, such as creating a table and dropping a database. To drop a database, click Drop Database (DROP).

Dropping a Table

Select the database for which to drop a table. You can perform various operations on tables on this page, such as viewing, structuring, searching, and dropping. Click Drop.

Via SQL Commands in the phpMyAdmin Console

Dropping a Database

  1. Log in to the phpMyAdmin Console. To drop a database with an SQL command, click SQL.
  2. Run the following command to drop a database.
    drop database <database name>;

Dropping a Table

  1. To drop a table with an SQL command, click SQL.
  2. Run the following command to drop a table.
    drop table <table name>;