Skip to content

Instantly share code, notes, and snippets.

@fteem
Created December 13, 2011 02:12
Show Gist options
  • Select an option

  • Save fteem/1470128 to your computer and use it in GitHub Desktop.

Select an option

Save fteem/1470128 to your computer and use it in GitHub Desktop.

Revisions

  1. Ile Eftimov created this gist Dec 13, 2011.
    3 changes: 3 additions & 0 deletions gistfile1.yml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    mysqldump -u username -p -v olddatabase > olddbdump.sql
    mysqladmin -u username -p create newdatabase
    mysql -u username -p newdatabase < olddbdump.sql