Variable Visions

How to rename a MySQL database?

Published Sun. Dec. 09, 2012

Since you can not simply change a MySQL database name in phpMyAdmin or otherwise, you must export your existing database, and then re-import it as new, and then delete the original (after confirming the new works with your PHP).

In phpMyAdmin, select the "Export" tab and dump your database to a sql text file.