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
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]