phpmyadmin enable drop database statement

Yes, you can do it with the following steps:

  1. Go to wamp/apps/phpmyadmin3.5.1/libraries

  2. Open the file called "config.default.php"

  3. Go to line 653 and change $cfg['AllowUserDropDatabase'] = false; to true

  4. Restart the server to see the changes

For Windows XP users: if the effect is not reflected, exit WAMP through the quick launch icon and try restarting it.


It looks like there is a phpMyAdmin setting that you need to edit in config.inc.php.

boolean $cfg['AllowUserDropDatabase'] (line 503)

show a 'Drop database' link to normal users