How can I transfer specific rows from one MySQL DB on one server to another in a completely different server. Also the schemas don’t necessarily have to be the same. For example on server “A” I could have a Users table with 2 columns and on Server “B” have a Users table with 4 columns.
Thanks.
You should clarify ‘specific rows’ and specify if only one table or many.
mysqldump [options] [db_name [tbl_name…]] can do a lot
-c will create inserts with column names
-w will apply where condition, for example -w”userid=1″
so
might get you there.
Inserts with column names could work with slightly different schema (depending on ref integrity)