How do I enable DROP DATABASE
in phpmyadmin?
Every time I try to drop a bank it gives an error saying that the command is not enabled.
I'm using phpMyAdmin in WAMP on my local machine.
How do I enable DROP DATABASE
in phpmyadmin?
Every time I try to drop a bank it gives an error saying that the command is not enabled.
I'm using phpMyAdmin in WAMP on my local machine.
In phpMyAdmin if memory fails, the DROP DATABASE
command is disabled for security reasons.
To enable it, you need to change the phpMyAdmin configuration.
Look for the line AllowUserDropDatabase
in the config.inc.php
file in the phpMyAdmin folder and change its value to true
.
Once this is done, restart the Wamp services and your MySQL will be ok.
Reference: