how do you change name of mysql schema / database?
how do you change name of schema?
1 reply to this topic
Posted 27 December 2005 - 03:02 PM
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!
Seriously... if people don't start reading this before posting, I'm going to consider not answering at all.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users