"C:\Program Files\MySQL\MySQL Server 5.0\bin\mysql.exe" -u root -p
mysql>create table names ( id INT NOT NULL AUTO_INCREMENT, name VARCHAR(20), PRIMARY KEY(id)); mysql>insert into names values (NULL,'vaards');
C:\temp>mysqldump -u root -p testingonly > a.sql
mysql>drop database testingonly;
This will erase the tables with all the data contained therein.
C:\temp>mysql -u root -p testingonly < a.sql
mysql>use testingonly; mysql>show tables; mysql>describe names; mysql>select * from names;