Skip to content

Instantly share code, notes, and snippets.

@exophunk
Created October 26, 2017 12:45
Show Gist options
  • Select an option

  • Save exophunk/2ba8d3dbe637095fe623107fb6f7c39b to your computer and use it in GitHub Desktop.

Select an option

Save exophunk/2ba8d3dbe637095fe623107fb6f7c39b to your computer and use it in GitHub Desktop.

Revisions

  1. exophunk created this gist Oct 26, 2017.
    5 changes: 5 additions & 0 deletions mysql_import_export_all.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    # EXPORT
    mysqldump -u root -p --all-databases > alldb.sql

    # IMPORT
    mysql -u root -p < alldb.sql