Question: how to change name of database in mysql?
Answer: Log in to cPanel.
In the Databases section, click MySQL Databases.
A new page will open. Scroll down to the database you want to rename and select the Rename link under the Actions column.
Type the new database name, then click Proceed.