Drop all tables from Database


/ Published in: MySQL
Save to your folder(s)

* change dbname param


Copy this code and paste it in your HTML
  1. mysqldump --add-drop-table --no-data dbname | grep ^DROP | mysql -f dbname

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.