| List: | General Discussion | « Previous MessageNext Message » | |
| From: | Robert L Cochran | Date: | October 17 2005 11:37am |
| Subject: | Re: renaming the database | ||
| View as plain text | |||
I think you can just rename the directory that that database lives in. If you read the documentation for CREATE DATABASE in dev.mysql.com, you'll see they discuss renaming the directory (although it does not directly say this can be done to rename the database, but it comes really close to that.) Based on the documentation the database name is simply a directory name, no more and no less. Renaming tables has its own command syntax, you can look it up. Bob Cochran Octavian Rasnita wrote: >Hi, > >Is there a command for renaming a MySQL database? > >Thank you. > >Teddy > > > > >
| Thread | ||
|---|---|---|
| • renaming the database | Octavian Rasnita | 16 Oct |
| • Re: renaming the database | Jigal van Hemert | 17 Oct |
| • Re: renaming the database | Octavian Rasnita | 17 Oct |
| • Re: renaming the database | C.R. Vegelin | 17 Oct |
| • Re: renaming the database | Jigal van Hemert | 17 Oct |
| • Re: renaming the database | Robert L Cochran | 17 Oct |
| • Re: renaming the database | SGreen | 17 Oct |
| • Re: renaming the database | Robert L Cochran | 17 Oct |
| • Re: renaming the database | SGreen | 17 Oct |
| • Re: renaming the database | Peter Brawley | 17 Oct |
| • Re: renaming the database | Peter Brawley | 17 Oct |
| • Re: renaming the database | Gleb Paharenko | 17 Oct |
