Quick rename mysql database
# create the new db
mysqladmin create NEW_NAME
# dump out the old db into new db
mysqldump OLD_NAME | mysql NEW_NAME
# ...check the new one is ok...
# drop the old db
mysqladmin drop OLD_NAME
Written by Stilliard
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Mysql
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#