Results 1 to 2 of 2

Thread: Empty a MySQL database

  1. #1
    Join Date
    Nov 2010
    Posts
    12

    Default Empty a MySQL database

    Hi

    How can I empty a MySQL database?

    Xpert

  2. #2
    Join Date
    Nov 2010
    Posts
    11

    Default Empty a MySQL database using PhpMyAdmin

    Hi

    The easiest way to empty a MySQL database is through phpMyAdmin.

    • Once in phpMyAdmin, select the database you wish to empty.
    • A list with all the database's tables will appear. Click [Check All] to select all tables.
    • Click the box [With selected:] and choose Drop and confirm. This will execute the DROP TABLE SQL query on all tables and the database will be emptied.

    I trust this answers your query.

    Regards

    Kalpesh Sonar

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •