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


You need to login to view comments.