Skip to content

Instantly share code, notes, and snippets.

@icamys icamys/
Last active Jul 25, 2018

What would you like to do?
Rename mysql database alternative
mysqldump old_database_name > dump.sql
mysqladmin create new_database_name
mysql new_database_name < dump.sql
mysqladmin drop old_database_name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.