Skip to content

Instantly share code, notes, and snippets.

@lukin0110
Created November 13, 2012 14:24
Show Gist options
  • Save lukin0110/4066000 to your computer and use it in GitHub Desktop.
Save lukin0110/4066000 to your computer and use it in GitHub Desktop.
Rename a schema in MySql
mysqladmin create new_db_name
mysqldump db_name | mysql new_db_name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment