Jump to content


This topic is now archived and is closed to further replies.


how do you change name of schema?

Recommended Posts

There's no "official" way to do this -- that is, there's no RENAME DATABASE command. The simplest way to do this is to stop the MySQL server, go to the datadir, and simply rename the appropriate directory (i.e. the desired database). Be sure to update the GRANTs tables!

Share this post

Link to post
Share on other sites


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.