Delete a database in phpMyAdmin

前端 未结 16 946
面向向阳花
面向向阳花 2021-01-31 06:33

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.

16条回答
  •  挽巷
    挽巷 (楼主)
    2021-01-31 07:31

    Open the Terminal and run

     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

     DROP DATABASE DBname;
    

提交回复
热议问题