Export tables from one database to another

[expired user #10007]'s profile image [expired user #10007] posted 7 years ago in General Permalink

Hello Friends,

I am trying to export few tables from one database to another. Both databases have same columns structure. I don't understand how to set the settings of Database(s), Table(s) and Data. I want to keep the original data of the target database unchanged. Thank you for your time.

Regards Mirish

1 attachment(s):
  • setttings
ansgar's profile image ansgar posted 7 years ago Permalink
  • Database(s) are greyed out here as you selected "Database: xyz" as output. The checkboxes for "Database(s)" would otherwise generate a CREATE DATABASE xyz query.
  • Table(s) should be created unless you know the structure is up to date in the target database
  • Data should be "Insert" if you want to keep the existing data untouched. Even better: "Insert ignore", as this prevents errors in case there are rows matching to the source database.
[expired user #10007]'s profile image [expired user #10007] posted 7 years ago Permalink

Hello, Still I have the problem. The new database completely replaces target database. Also I can't select the tables from new database which I really want to export. Here are my settings.

1 attachment(s):
  • setttings
ansgar's profile image ansgar posted 7 years ago Permalink

Also I can't select the tables from new database which I really want to export.

You have probably by accident minimized the left sidebar on that dialog, which shows databases and tables. See the screenshot how that looks like normally:

[expired user #10007]'s profile image [expired user #10007] posted 7 years ago Permalink

No, I can see all of the tables but I can't do multiple selection on the tables. I can right click on one of the table and click on 'Export data as SQL' but same time can not select other tables. I don't understand which settings I have to modified. Thank you.

ansgar's profile image ansgar posted 7 years ago Permalink

As told above: try to widen the left are on the export dialog.

[expired user #10270]'s profile image [expired user #10270] posted 7 years ago Permalink

Since I have no email address of yours, I am communicating through this forum. I want to donate, but my country name is not included in the Paypal list (Pakistan) and I cannot transfer through bank, so how do I make payment please ?

ansgar's profile image ansgar posted 7 years ago Permalink

Sorry, if both ways are not possible, I have no other alternative.

Please login to leave a reply, or register at first.