Jump to content

mysql export fields mapping


jason213123

Recommended Posts

hi,

i have two databases and each one have diferent fields names and tables

and i want a creat a map for each field and each table and export to a database to the other

i have tested the mysql migration but i can´t choose a diferent table in the destination

database.

any one know a software that does this?

thanks a lot for your help

:)

 

Link to comment
Share on other sites

You may try the next algorithm... It will work for any DBs, even when they a placed at different places.

 

1. Copy your data into file. "SELECT ... INTO OUTFILE" will help you.

2. Copy files to another server, if needed.

3. Load data from file to another database, use "LOAD DATA INFILE". At this step you may load info to a columns with any name.

 

Check syntax for these commands in the MySQL help.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.