Would you like to learn how to rename a column from an existing table? In this tutorial, we are going to show you how to use the MySQL command-line to change the name of a column from the table.

• Ubuntu 20.04
• Ubuntu 19.04
• Ubuntu 18.04
• MySQL 8.0.19

Equipment list

The following section presents the list of equipment used to create this tutorial.

As an Amazon Associate, I earn from qualifying purchases.

Tutorial MySQL – Rename a column from the table

Access the MySQL command-line.

Copy to Clipboard

Access the MySQL database.

Copy to Clipboard

Describe the MySQL table.

Copy to Clipboard

Here is the command output:

Copy to Clipboard

Rename a column from the MySQL table.

Copy to Clipboard

In our example, we rename the column named REG_DATA to D_CREATION.

Copy to Clipboard

Congratulations! You are able to rename a column from a MySQL table.