Posted By

berkes on 01/08/07


Tagged

database maintainance adminitration


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

berkes
zingo


Remove all tables from a database


 / Published in: SQL
 

URL: http://www.thingy-ma-jig.co.uk/blog/10-10-2006/mysql-drop-all-tables

  1. mysqldump -u[USERNAME] -p[PASSWORD] --add-drop-table --no-data [DATABASE] | grep ^DROP | mysql -u[USERNAME] -p[PASSWORD] [DATABASE]

Report this snippet  

You need to login to post a comment.