diskhub Posted December 27, 2005 Share Posted December 27, 2005 how do you change name of mysql schema / database? Quote Link to comment Share on other sites More sharing options...
fenway Posted December 27, 2005 Share Posted December 27, 2005 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! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.