I would like to know how to rename an existing DB locally.
I use XAMPP and myPHPyadmin as the MySQL.

link|improve this question

76% accept rate
feedback

2 Answers

up vote 0 down vote accepted

Using SQLyog, there is an option to copy the database to another host/database, not sure in myphpadmin but anyways you can dump the database to sql scripts, edit the scripts to change the name of the database, create the new database and load the scripts.

link|improve this answer
feedback

PHPMyAdmin has an option to rename a database:

enter image description here

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.