We can delete a whole database—including all its tables—using the Drop link in Database view:
By default, $cfg['AllowUserDropDatabase']
is set to FALSE
, so this link is hidden to unprivileged users until this setting is manually changed to TRUE
.
To help us think twice, a special message appears before a database is deleted: You are about to DESTROY a complete database!