Home » Archive

Articles tagged with: rename database

MySQL »

[30 Dec 2008 | No Comment | 864 views]

I looked through the documentation on MySQL and it looks like they removed the “rename database” option. Here’s a workaround:

mysqladmin create [Name of new database]
mysqldump –opt [Name of old database] | mysql [Name of new database]