This site utilizes JavaScript to function correctly. Looks like it's disabled on your browser. Please enable it for your best experience.

For instructions on enabling JavaScript, click here

Skip to main content

Just Host Web Hosting Help

Dropping columns from a database table using PhpMyAdmin

Dropping columns from a database table in PhpMyAdmin

It is recommended that you make a backup before you perform any destructive actions, such as dropping database columns. Without a backup, there will be no way to restore anything mistakenly deleted.
 
WARNING!  Dropping columns in your database permanently deletes the column and all the data stored in that column.  Make sure that none of your applications or websites rely on information contained in the column(s) you are deleting.
  1. Log in to your Just Host cPanel account.
  2. Navigate to the Database Tools section, and select phpMyAdmin.
  3. Select the database you want to work with (in the left column when you first access phpMyAdmin).
  4. Select the table you want to work with.
  5. Place a check mark next to the column(s) you wish to drop (delete permanently).
  6. Click on the Drop button underneath the list of columns.
  7. It will ask you if you really want to do this.  Review what will be dropped to make sure the correct columns are being deleted.  If it is correct, click on the Yes button to drop the columns.  Otherwise click No.

A message stating your SQL query was executed successfully will be displayed and your columns will be gone.

Knowledgebase Article 188,787 views bookmark tags: Plesk cpanel databases mysql phpmyadmin


Was this resource helpful?

Did this resolve your issue?


Please add any other comments or suggestions about this content:





Recommended Help Content

Step by step directions on how you can search your database using phpMyAdmin
Knowledgebase Article 185,216 views tags: Plesk cpanel databases mysql phpmyadmin

A step by step guide on how to manipulate data in your mySQL tables using phpMyAdmin
Knowledgebase Article 199,414 views tags: databases mysql phpmyadmin

A guide to duplicating a MySQL database using phpMyAdmin
Knowledgebase Article 243,066 views tags: databases mysql phpmyadmin

Related Help Content

This article will show you how to rename a database table in phpMyAdmin.
Knowledgebase Article 322,748 views tags: databases mysql phpmyadmin

Instructions on adding a column to your database in phpMyAdmin
Knowledgebase Article 207,004 views tags: databases mysql phpmyadmin

A repository of information on how you can manage your database by using the phpMyAdmin interface.
Knowledgebase Article 375,804 views tags: commands database mysql phpmyadmin

This article will explain MySQL database and user creation and deletion, and explain how to assign a user to a database.
Knowledgebase Article 874,113 views tags: creation database mysql

How do I import a backup of my database (.sql file) using phpMyAdmin?
Knowledgebase Article 782,048 views tags: database mysql phpmyadmin

A guide on performing a standard SQL query using the phpMyAdmin interface
Knowledgebase Article 191,944 views tags: databases mysql phpmyadmin

Guidance on adding tables to your mySQL database in phpMyAdmin
Knowledgebase Article 114,584 views tags: mysql phpmyadmin

How to Restore your MySQL Database?
Knowledgebase Article 384,173 views tags: admin database mysql php phpmyadmin restore

** Google ad credits are only available to customers in the United States, Canada, and the United Kingdom at this time.

¹ VAT (Value Added Tax) is not included in our advertised price and will be charged separately and itemized on invoices and billing information. Standard VAT rates based on EU Member State regulations may apply. Learn more.