Removing a database in phpMyAdmin

By mistake, I created a duplicate database on the phpMyAdmin cPanel page. I want to delete this database, but I cannot find the delete button in the user interface.

How to delete a database in phpMyAdmin?

+74
phpmyadmin
Feb 13 '14 at 10:42
source share
15 answers

After successfully logging into cPanel, another MySQL Databases icon will appear next to the phpMyAdmin icon; click on it.

enter image description here

This will lead you to the database list page.

In the action column you can find the delete database option to delete your database!

+57
Feb 13 '14 at 10:58
source share

In phpMyAdmin 4.1.9 :

database_name > Operations > Remove database

enter image description here

+87
Jun 04 '14 at 10:55
source share

Screenshothot

  • Go to the phpmyadmin homepage.
  • Click Databases.
  • Select the database you want to delete. (tick)
  • Click Discard.
+17
Jun 03 '15 at 13:44
source share

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

Obviously, I didn’t have the setting. Go to the config.inc.php file of the phpMyAdmin folder and add the following:

$cfg['AllowUserDropDatabase'] = true;

Save and restart the local server, and the command will appear inside the console.

+5
May 01 '15 at 18:18
source share

You can delete the database in cpanel.

In Cpanel, go to the databases, and there you will see all the created databases, and you can delete this database.

http://docs.cpanel.net/twiki/bin/view/AllDocumentation/CpanelDocs/MySQLDatabases#Delete Database

or another wise on a real server, if the user has privileges, you can run the command on the sql tab phpmyadmin.

 drop database databasename; 
+4
Feb 13 '14 at 10:46
source share

database database name β†’ Operations β†’ Delete database β†’ click on delete database (DROP)

+4
Mar 07 '16 at 6:26
source share

You can follow uploaded images

enter image description here

Then select which database you want to delete.

enter image description here

+3
Dec 14 '17 at 4:18
source share

How to delete a database in phpMyAdmin?

On the Database Operations tab, find (and click) the text Drop the database (DROP) .

+2
Feb 16 '14 at 17:03
source share

Select the database on the left. Then on the right center vertex you can find β€œOperations”. In this go to delete the database (DROP). It's all.

+2
Feb 17 '15 at 6:20
source share

The delete / delete option in operations is not available in my version.

Go to CPanel -> MySQLDatabase (the icon next to PhPMyAdmin) -> check that the DB will be deleted -> delete.

+2
Sep 25 '16 at 18:51
source share

Go to the operations tab for the selected database and click "Delete Database (DROP)" to delete it.

+1
Mar 21 '18 at 10:10
source share

There are two ways to delete a database.

  1. Run this SQL query -> DROP DATABASE database_name
  2. Click dbname β†’ Operations β†’ Delete Database
+1
Jul 20 '18 at 8:12
source share

Open Terminal and run

  mysql -u root -p 

Password is null or just enter your mysql password

Ather just run this query

  DROP DATABASE DBname; 



If you are using phpmyadmin just run

  DROP DATABASE DBname; 
+1
Jun 22 '19 at 17:09
source share

1. connect to the local host. 2. Open your favorite browser. 3. Verify that your local host is running. 4.type in url = localhost. 5. Collapse down click on phpadmin 6.once phpadmin is open. 7. Click on the database. 8.mark check the database you want to delete. 9. Click on the drops. β€’ The database should be deleted. If this does not work 10. Click on 11.go database to work. 12.click drop database β€’ should be displayed in red text β€’.

0
Jan 30 '16 at 18:01
source share

If you want to remove your database from phpmyAdmin or mySQl. Just go into the SQL command and write the command "drop DATABASE databasename;"

Example: drop DATABASE rainbowonlineshopping;

enter image description here

Then click the Go button. Your database will be deleted and you will receive this information.

enter image description here

0
Jul 12 '18 at 18:34
source share



All Articles