Or if "RENAME DATABASE" is not implemented yet:

CREATE newDatabase;

then for each table in the oldDatabase issue:

ALTER TABLE oldDatabase.tblX RENAME TO newDatabase.tblX

After all is done:

DROP oldDatabase

-- -- -- -- -- -- -- -- -- -- -- -- -- --
Gabriel PREDA
Senior Web Developer

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to