Re: how to rename a database
| From: | Dominic | Date: | Fri, 26 Jan 2001 18:54:22 +0000 |
| Subject: | Re: how to rename a database | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-36846@lists.php.net to get a copy of this message | ||
at a mysql prompt in the database where your table resides, type the
following:
alter table <currentname> rename <newname>;
That should take care of it.
--
Dominic
Fang Li wrote:
>
> Does anyone know how to rename a database in MySQL?
> Thanks!
>
> fang
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net