MERGE tables have a table_name.MRG that contains pathed names to the
original table location. You can carefuly hand edit these or run an
ALTER command to fix them.

ALTER TABLE merge_table_name  UNION=(table_1,table_2...)"

Ed

-----Original Message-----
From: Ed Reed [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 20, 2004 2:53 PM
To: [EMAIL PROTECTED]
Subject: RE: Rename database


Is there anything wrong with just stopping the server and renaming the
database's directory in the DATA directory? I've used that method
without any problems. It also works very well for making a copy of the
database to a new differently named database. Are there any pitfalls
that I haven't encountered yet?
 
Thanks

>>> "Bartis, Robert M (Bob)" <[EMAIL PROTECTED]> 5/20/04 1:37:20 PM
>>>
http://dev.mysql.com/doc/mysql/en/RENAME_TABLE.html 

-----Original Message-----
From: Ngim Ngau - Kzresults [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 20, 2004 4:50 PM
To: [EMAIL PROTECTED] 
Subject: Rename database


Hi, Is there a way I can rename a database? or at least copy an old
database
with existing tables into
a new one?

Thanks.


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

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




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

Reply via email to