| List: | General Discussion | « Previous MessageNext Message » | |
| From: | Kevin Spencer | Date: | January 2 2006 10:43pm |
| Subject: | Re: Drop all tables? | ||
| View as plain text | |||
On 1/2/06, JJ <jj@stripped> wrote: > Is there an easy way to drop all (MyISAM) tables of a MySQL 3.23 database > besides deleting it and then recreating an empty database? Read up on mysqldump. For 3.23, something like the following should do the trick: mysqldump databasename --add-drop-table --no-data > your_output_file.sql And then import it: mysql databasename < your_output_file.sql -- Kevin.
| Thread | ||
|---|---|---|
| • Drop all tables? | JJ | 2 Jan |
| • Re: Drop all tables? | Kevin Spencer | 2 Jan |
