Log in to cPanel
In the “Databases” section, click on “MySQL Databases” Icon.
Under “Current Databases”, You can see list of your all databases. Locate the Database and then click on “Rename” Icon.
Change database name and then click on “Proceed” button.