How to rename a database in cPanel?
Here are the steps to change the name of your database:
Log into your cPanel interface "https://www.domainname.com:2083" or by going through your client area.
In the Databases section, click on MySQL Databases Icon.

Under Current Databases, You can see a list of all your databases. Locate the Database and then click on Rename Icon.

Change the database name and then click on the Proceed button.

Updated on: 14/02/2023
Thank you!