You can follow below steps to rename mysql database:
- Login to cpanel.
- Search for “Mysql Databases” under Databases.
- Now select particular database which you want to rename from “Current Databases” list and click on “Rename” option.
- Enter your desired password and click on “Proceed” button.
- Now your database name changed.