diskhub Posted December 27, 2005 Share Posted December 27, 2005 how do you change name of mysql schema / database? Link to comment https://forums.phpfreaks.com/topic/3108-how-do-you-change-name-of-schema/ 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! Link to comment https://forums.phpfreaks.com/topic/3108-how-do-you-change-name-of-schema/#findComment-10439 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.