How can I delete the contents of all tables in my database in phpMyAdmin without dropping the database?

后端 未结 10 1377
予麋鹿
予麋鹿 2021-02-13 03:32

How can I empty the contents of all tables in my database in phpMyAdmin without dropping any of the tables in the database?

Since I do this several times an hour while i

10条回答
  •  既然无缘
    2021-02-13 03:43

    IMHO the easiest solution is:

    • In phpmyadmin select the database you want to truncate in the databases-list (left-hand-side)
    • In the main view scroll down, you'll see a checkbox "Check All" and next to it a drop-down box where you can select "Empty". Done.

提交回复
热议问题