how to Copy data from an existing remote database(MySQL) to another local MySQL database with different schema? -
i want copy data mysql remote database other mysql database whith different schema (table , column names primary , foreign key constraint)
i want bring data db1.person
, put db2.user
while mapping db1.person.id
db2.user.id
, same name , email column.
i intend make process run twice week great have script it.
remote database db1 has table person
:
- id
- name
local database db2 has table user
- id
- name
- group_id
and group
- id
- label
- description
take @ free database manager http://dbeaver.jkiss.org/
dbeaver job copying tables on different schemas or databases. has small footprint , copying fast.
Comments
Post a Comment