Empty sql databases
dbs_empty is an utility that completely erases any data from a given \s-1SQL\s0 database.
Required command line parameters are the \s-1DBI\s0 driver (\*(C`Pg\*(C' for Postgres or \*(C`mysql\*(C' for MySQL) and the database name. The third parameter is optionally and specifies the database user and/or the host where the database resides (\*(C`racke\*(C', \*(C`[email protected]\*(C' or \*(C`@linuxia.de\*(C').
\$1
Excludes any table matching the regular expression \s-1REGEXP\s0 from dumping. Remove tables from database too.
Stefan Hornburg (Racke), [email protected]
perl\|(1), DBIx::Easy\|(3)