Created
October 28, 2011 21:03
-
-
Save tricker/1323552 to your computer and use it in GitHub Desktop.
Revisions
-
tricker revised this gist
Oct 28, 2011 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,7 +2,7 @@ mysqldump -uroot -ppassword hornet > hornet-dump.sql # Drop database schema mysqladmin -uroot -ppassword –f drop hornet # create empty database schema mysqladmin –uroot –ppassword create hornet -
tricker created this gist
Oct 28, 2011 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ # export data to file mysqldump -uroot -ppassword hornet > hornet-dump.sql # Drop database schema mysqladmin –uroot –ppassword –f drop hornet # create empty database schema mysqladmin –uroot –ppassword create hornet # push dump file into new database schema mysql -uroot -ppassword hornet < hornet-dump.sql