Delete a database in phpMyAdmin

前端 未结 16 977
面向向阳花
面向向阳花 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:29

    Taking a queue from michael's answer above, I was unable to find the DROP Database command on my phpMyAdmin console in the localhost.

    Apparantly I was missing a setting. Go to config.inc.php file of the phpMyAdmin folder, and add this:

    $cfg['AllowUserDropDatabase'] = true;

    Save and restart the local server and the command appears inside the console.

提交回复
热议问题