Jump to content

how do you change name of schema?


diskhub

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!

Archived

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

×
×
  • Create New...

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.