How to empty a MySQL database

To empty a database follow these steps:

1. Go to cPanel >> Databases section >> phpMyAdmin menu.

2. Select the database you wish to empty. A list with all the database tables will appear on the left (you may have just one database if only one website is hosted):

3. Tick Check All to select all tables and choose the Drop option from the With selected drop-down list:

4. This will execute the DROP TABLE SQL query to empty all the tables at once. On the next step, confirm you wish to proceed by clicking the Yes button:

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

SQL

SQL (can be pronounced either as see-kwell or as separate letters) is an abbreviation for...

How to create and maintain MySQL Databases in cPanel

MySQL Databases menu can be quickly accessed via cPanel Shortcuts in the Namecheap account. For...

How to Duplicate a Database using phpMyAdmin

To duplicate the database follow these steps: 1. Log into cPanel >> Databases section...

How to Restore a mySQL Database in cPanel

If you have a backup of a MySQL database saved as an uncompressed .sql file or a compressed...