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

后端 未结 10 2485
野趣味
野趣味 2021-02-13 03:22

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:58

    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.

提交回复
热议问题