phpmyadmin enable drop database statement

后端 未结 19 2324
囚心锁ツ
囚心锁ツ 2021-01-31 03:10

I was alerted by my hosting provider that I exceed my 1000 table limit. I have a lot of databases and would like to delete more at once. Unfortunaltley they don\'t have a multis

19条回答
  •  无人及你
    2021-01-31 03:53

    I had problems with most of these approaches.

    My installation is hosted so I don't have access to the PHP config files and the PHPMyAdmin interface is not displaying the "Remove Database" section mentioned above (under the Operations Tab). The icon in the corner didn't work either.

    What I realised you can do is create a stored procedure to delete your table.

    Go to "Routines", "Add Routine" and create a stored procedure with the single line:

    DROP DATABASE databasename

    When that's created you can execute it and the database will get deleted.

提交回复
热议问题