homepage Welcome to WebmasterWorld Guest from 54.227.41.242
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / Databases
Forum Library, Charter, Moderator: open

Databases Forum

    
Move Data from a MYSQL database to another MYSQL database
database
aff_dan




msg:3279287
 12:37 pm on Mar 12, 2007 (gmt 0)

Dear sir/madam,

Database 1 have 1 GB
Database 2 have 10 MB

Database 1 = Database 2 are the same, tables are the same.

I want to transfer new data from Database 2 to Database 1 because DB1 is too large to use my perl script to add new content and to avoid CPU usage.

How can I do to move all data from DB2 to DB1?

Kind regards,
Dan

 

txbakers




msg:3281286
 3:40 am on Mar 14, 2007 (gmt 0)

The mySQL has a utility for this. I think mySQLDUMP will work also. Check out the docs to see how it works.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Databases
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved