HostMonster Web Hosting Help

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 42,594 views bookmark tags: databases mysql phpmyadmin (updated 927 days ago)


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 (updated 926 days ago)
Knowledgebase Article 37,942 views tags: Plesk cpanel databases mysql phpmyadmin

Instructions on deleting tables from your database using phpMyAdmin (updated 928 days ago)
Knowledgebase Article 37,924 views tags: Plesk cpanel databases mysql phpmyadmin

Step by step directions on how you can search your database using phpMyAdmin (updated 927 days ago)
Knowledgebase Article 13,398 views tags: Plesk cpanel databases mysql phpmyadmin

Related Help Content

A guide on renaming the tables inside of your database using phpMyAdmin (updated 110 days ago)
Knowledgebase Article 15,190 views tags: databases mysql phpmyadmin

Guidance on adding tables to your mySQL database in phpMyAdmin (updated 927 days ago)
Knowledgebase Article 15,690 views tags: mysql phpmyadmin

A guide to duplicating a MySQL database using phpMyAdmin (updated 927 days ago)
Knowledgebase Article 31,253 views tags: databases mysql phpmyadmin

Instructions on adding a column to your database in phpMyAdmin (updated 916 days ago)
Knowledgebase Article 67,852 views tags: databases mysql phpmyadmin

A guide on performing a standard SQL query using the phpMyAdmin interface (updated 927 days ago)
Knowledgebase Article 19,761 views tags: databases mysql phpmyadmin

I would like to dump the Table Structure for my MySQL Database, but none of the data. (updated 2107 days ago)
Knowledgebase Article 128,498 views tags: mysql ssh

Instructions on changing the name of your database using phpMyAdmin (updated 928 days ago)
Knowledgebase Article 35,967 views tags: cpanel databases mysql phpmyadmin

A repository of information on how you can manage your database by using the phpMyAdmin interface. (updated 927 days ago)
Knowledgebase Article 152,705 views tags: commands database mysql phpmyadmin