Nanni Claudio wrote:
You can try to dump-to-sql the whole DB,
Create a new DB and import the sql-dump in the new DB.

Aloha!

Claudio


-----Messaggio originale-----
Da: Thomas Raso [mailto:[EMAIL PROTECTED] Inviato: martedì 12 febbraio 2008 17.20
A: mysql@lists.mysql.com
Oggetto: rename database in 4.1

hi list,

how can I rename a database with full innodb tables ?
The version is 4.1

Thnaks all


"Questo messaggio ed ogni suo allegato sono confidenziali e possono essere riservati 
o, comunque, protetti dall'essere diffusi. Se il ricevente non é il destinatario diretto 
del presente messaggio, é pregato di contattare l'originario mittente e di cancellare 
questo messaggio ed ogni suo allegato dal sistema di posta. Se il ricevente non é il 
destinatario diretto del presente messaggio, sono vietati l'uso, la riproduzione e la 
stampa di questo messaggio e di ogni suo allegato, nonché la diffusione del loro 
contenuto a qualsiasi altro soggetto"
*****
"This message and any attachment are confidential and may be privileged or otherwise 
protected from disclosure. If you are not the intended recipient, please contact the 
sender and delete this message and any attachment from your system. If you are not the 
intended recipient you must not use, copy or print this message or attachment or disclose 
the contents to any other person."

You can also use the rename table command by creating the new database name then use rename dbname.table newdbname.table. You can list multiple tables. You could script it.

Ken

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

Reply via email to