/ Published in: SQL
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
mysqldump -u[USERNAME] -p[PASSWORD] --add-drop-table --no-data [DATABASE] | grep ^DROP | mysql -u[USERNAME] -p[PASSWORD] [DATABASE]
URL: http://www.thingy-ma-jig.co.uk/blog/10-10-2006/mysql-drop-all-tables