mysqldump table names prefix

Posted by Bogdan Gusiev on Stack Overflow See other posts from Stack Overflow or by Bogdan Gusiev
Published on 2009-12-16T19:23:24Z Indexed on 2010/03/22 2:31 UTC
Read the original article Hit count: 729

Filed under:
|
|

I have two mysql databases that have almost the same structure and representing the data of the same web app but one of them represents the current version and second one was made long time ago.

How can I create the database with both dumps inside but with old_ prefix for tables from the first and new_ prefix for tables from the second database?

Is there any mysqldump options to setup the prefix or other solution?

© Stack Overflow or respective owner

Related posts about mysql

Related posts about mysqldump