How to delete tables from a database using phpmyadmin

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • VodaHost
    General & Forum Administrator

    • Mar 2005
    • 12356

    How to delete tables from a database using phpmyadmin



    This tutorial is to teach you about specific operations in phpMyAdmin. We are going to learn how to delete a table in a database with phpMyAdmin. For the purposes of this tutorial, we will assume that you are already logged into phpMyAdmin.

    For this tutorial, we will be using a database with two tables for the example. In the left hand phpMyAdmin setup window, the blue screen, you will see the name of the database, with the names of the tables listed below that name. Now let's learn how to delete one of the tables. Start by selecting the table you wish to delete in the blue window, by clicking on it. phpMyAdmin setup will bring up all the table data in the big window on the right hand side.

    There is a list of fields that are in the table. You can delete individual fields from the table by selecting them in this list, using the check box at the beginning of each field. You would then click on the Delete icon, which is located below the fields table, a large red X. That would delete the selected field.

    You are now going to learn how to delete the entire table and everything in it using the phpMyAdmin setup. In the menu at the top of the white screen, click on the Drop button. A pop-up will ask you to confirm that you really want to drop the table. If you are sure, click on the OK button to confirm. The screen will now show a confirmation that the table has been dropped, and the table will no longer be listed in the databases list of tables. (This list is in the blue screen)

    Click on the Home icon on the left hand side, and this will take you to the main screen. This is the end of this tutorial. You now know how to delete tables from a database using phpMyAdmin setup.

    How to delete fields from a database tables using phpmyadmin

    VodaHost

    Your Website People!
    1-302-283-3777 North America / International
    02036089024 / United Kingdom
    291916438 / Australia

    ------------------------

    Top 3 Best Sellers

    Web Hosting - Unlimited disk space & bandwidth.

    Reseller Hosting - Start your own web hosting business.

    Search Engine & Directory Submission - 300 directories + (Google,Yahoo,Bing)


Working...
X