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

Modifying table columns - phpMyAdmin

Modifying table columns in phpMyAdmin

This tutorial will demonstrate how to modify existing MySQL database tables in phpMyAdmin.

WARNING! Be careful changing certain aspects of table columns, because it is possible to lose data.  For example, if you change the maximum length of a field from 20 characters to 15 characters, any data in that column that is longer than 15 characters will be truncated (chopped off).

Begin by accessing phpMyAdmin via cPanel.

  1. Select the database you want to work with (by clicking on database name in the left column of the phpMyAdmin home page).
  2. Once inside a database, you will see a list of tables.  Click on the table you wish to modify.
  3. Inside the table, you will see a list of columns.  To the right of the column name, you will see a link called "Change" under the Actions.  Click on the Change link for the column you wish to modify.
  4. You can change a variety of things, including the name of the column, length of the field (maximum number of characters allowed), default value, and more.
  5. Once you are ready to proceed, click on Save to save the changes.

The changes you requested will have been applied.

Knowledgebase Article 199,414 views bookmark tags: 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

A tutorial on how to perminately delete columns from your mySQL database using phpMyAdmin
Knowledgebase Article 188,787 views tags: Plesk cpanel databases mysql phpmyadmin

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

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

Related 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

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

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

I would like to dump the Table Structure for my MySQL Database, but none of the data.
Knowledgebase Article 274,538 views tags: dump mysql ssh structure table

A guide on performing a standard SQL query using the phpMyAdmin interface
Knowledgebase Article 191,944 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

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

How to repair and optimize your database using phpMyAdmin:
Knowledgebase Article 442,214 views tags: database mysql optimizing repairing slow speed

** 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.