Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Renaming Database

Status
Not open for further replies.

tobyheywood

IS-IT--Management
Apr 20, 2001
122
GB
Hi,

Just a quickie (hopefully) I have a database with a reasonable amount of data contain within its tables. I have a requirement to rename the database so that it matches that of my ISP provided database. Is there a command or tool which could be used to rename the database which will leave the content intact?

I know that I can mysqldump to dump all data then create a new database to house the data but if possible I would like to be able to rename the database!

Thank you in advance.

Regards


Toby Heywood
 
stop the server
rename the directory
start the server

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top