By mistake, I have created a duplicate database in the phpMyAdmin page of cPanel. I want to delete this database, but I am not able to find any delete button in the UI.
Open the Terminal and run
Terminal
mysql -u root -p
Password is null or just enter your mysql password
Ater Just Run This Query
DROP DATABASE DBname;
If you are using phpmyadmin then just run