Jeff Shipman - SysProg wrote:
>
> I have two databases that have identical table
> structures. I would like to copy all data from
> the 'tickets' and 'notes' in one db to the
> 'tickets' and 'notes' field in the other. How
> could I do this?
>
You could try the lock/flush strategies employed
by the script mysqlhotcopy, and copy the raw
data files at the OS level. You could also try
this SQL:
# uncomment if you are purging first
# delete from dest.notes;
insert into dest.notes select * from source.notes;
--Josh
_________________________________________________________________
Joshua Chamas Chamas Enterprises Inc.
NodeWorks >> free web link monitoring Huntington Beach, CA USA
http://www.nodeworks.com 1-714-625-4051
---------------------------------------------------------------------
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