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
  • email

local database db2 has table user

  • id
  • name
  • email
  • 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

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -