How Can We Help?
< All Topics
Print

Modifying Your Database with PHPMyAdmin: Step-by-Step Instructions

PHPMyAdmin is crucial for modifying your database, as it allows you to validate and clean your data by updating or correcting outdated information.

a) Change your database table columns

1. Log into PHPMyAdmin. (You can get your PHPMyAdmin URL inside your cPanel or Plesk.)

2. Then, click the “+” button on the side menu and select the table where you want to edit the column information in a database.

3. After that, simply select it and click the “Change” button on the action site for the desired modification to edit a specific column.

PHPMyAdmin

4. You can change the column name, field length, default value, and more. Click the Save button to save your changes after editing.

b) Add columns to your database tables

1. Log into PHPMyAdmin. (You can get your PHPMyAdmin URL inside your cPanel or Plesk.)

2. Then, click the “+” button on the side menu and select the table where you want to edit the column information in a database.

3. Below the existing columns, there is a row: Add # columns.

4. After that, choose the column location, and click the Go button to proceed to add columns and input the number in the numeric field.

5. You will then be taken to a new column form page where you can enter the details of your new column. Finally, click the Save button to save the changes, and the new column will be added to the table.

c) Drop the selected column

1. Log into PHPMyAdmin. (You can get your PHPMyAdmin URL inside your cPanel or Plesk.)

2. Then, click the “+” button for Database in the side menu and select the table for which you want to edit the column information to delete a specific column.

3. After that, select Structure, tick the selected columns, and click the Delete button on the action site to delete columns in a structure.

4. It will send a warning message about deleting the column, and you can click “Yes” to delete the column.

5. Finally, it sends a message about successfully deleting the column.

d) Drop the entire database

1. Log into PHPMyAdmin. (You can get your PHPMyAdmin URL inside your cPanel or Plesk.)

2. Then, select it and click on the Operation button to delete a database.

3. After that, click the DROP button in the Remove Database section to delete the entire database.

4. Afterwards, a confirmation message will be sent to delete the entire database, and then click OK to delete the entire database.

Table of Contents