Mega Code Archive

 
Categories / MySQL Tutorial / MySQL Utilities
 

Automatically drop any tables that exist before restoring the stored tables with the --add-drop-table

c:\mysql\bin\mysqldump -u root -p --add-drop-table myDatabase > myDatabase.sql