In the MySQL prompt type:

use database_name

Now type:

RENAME TABLE old_table_name TO new_table_name;

Note: If you found this page useful, visit our guide on how to create a Mysql password for root to add an extra layer of security to your project.