stop mysql
cd /var/lib/mysql
mv olddbname newdbname
start mysql

[EMAIL PROTECTED] wrote:

> I searched the archives and the manual online but could not find the
> answer,
> I believe this has been covered in the list though. Is it possible to
> rename a
> database? If not, is it possible to move/copy a table from a database to a
> new
> database? Could someone point me to the details on this?
> 
> --
> Chip
> 
> 
> ---------------------------------------------------------------------
> Before posting, please check:
>    http://www.mysql.com/manual.php   (the manual)
>    http://lists.mysql.com/           (the list archive)
> 
> To request this thread, e-mail <[EMAIL PROTECTED]>
> To unsubscribe, e-mail <[EMAIL PROTECTED]>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
> 
> 


-- 
  _.,-*~`^'~*-,._ Danny Rathjens _.,-*~`^'~*-,._
"In mathematics, you don't understand things.
  You just get used to them." -- Johann von Neumann


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to