List:General Discussion« Previous MessageNext Message »
From:Jigal van Hemert Date:October 17 2005 10:11am
Subject:Re: renaming the database
View as plain text  
Octavian Rasnita wrote:
> Is there a command for renaming a MySQL database?

Sorry, there is no command for that. For small databases you can use 
administration tools like phpMyAdmin, etc. which will do it for you by 
duplicating the database structure and data, and then drop the 'old' 
database. For big databases this will take quite long, so it's probably 
better to stick with the old name (what's in a name? ;-) )

Regards, Jigal.
Thread
renaming the databaseOctavian Rasnita16 Oct
  • Re: renaming the databaseJigal van Hemert17 Oct
  • Re: renaming the databaseOctavian Rasnita17 Oct
  • Re: renaming the databaseC.R. Vegelin17 Oct
    • Re: renaming the databaseJigal van Hemert17 Oct
  • Re: renaming the databaseRobert L Cochran17 Oct
    • Re: renaming the databaseSGreen17 Oct
      • Re: renaming the databaseRobert L Cochran17 Oct
        • Re: renaming the databaseSGreen17 Oct
          • Re: renaming the databasePeter Brawley17 Oct
      • Re: renaming the databasePeter Brawley17 Oct
  • Re: renaming the databaseGleb Paharenko17 Oct