Unsupported Screen Size: The viewport size is too small for the theme to render properly.

Migration Tool – Column Mappings

forums forums SQLyog SQLyog: Bugs / Feature Requests Migration Tool – Column Mappings

  • This topic is empty.
Viewing 8 reply threads
  • Author
    Posts
    • #9621
      scottah
      Member

      Sometimes I can edit the column mappings, other times I can't, it seems completely inconsistent… What do I need to do to be able to edit the column mappings?

    • #21255
      Manoj
      Member

      Can you post little more details like how to reproduce it. Actually i am not able to find any inconsistencies

    • #21256
      scottah
      Member
      Manoj wrote on Apr 18 2006, 04:35 AM:
      Can you post little more details like how to reproduce it. Actually i am not able to find any inconsistencies

      Just occured again… I think it occurs where you are using an existing job xml file, so that it sees a new column in your SOURCE SQL, and it sees the field of the exact same name in the TARGET table, it lists the match in the mappings table, however it won't let you tick it because it is not listed in the XML job file.

      I have got around it by editing the XML file directly

    • #21257
      peterlaursen
      Participant

      Does a column exist in advance in MySQL with that name?

      If so and 'import into existing table' is selected your (new) mapping has no effect of course!

      It is absolutely not just because you are reading from a XML-file.

      You can easily verify yourself!

      Please answer precisely: What does it mean that you 'can't edit mappings'.

      Does not the dropdown respond or does your choice just not take effect?

      It is always more precise to describe what happens compared to what does not happen <_<

    • #21258
      scottah
      Member

      You know I always wondered why if you clicked the 'reply' button and not the 'quote' button, your reply would come prepopulated with the quote anyway, but have just then discovered the quote button is a toggle.

      *ontopic* As stated earlier, the mapping DOES appear in the mappings list (the list of source columns and target columns and field data types etc).

      Each row (an individual column mapping) has a tickbox at the start of the row.

      None of these tickboxes are editable, ie, I cannot toggle them on and off. This usually doesn't bother me, as I am usually importing from access to mysql with all exact same fieldnames, and the column mapper recognises them all and ticks them *all* accordingly.

      Sometimes however, it leaves a particular mapping unticked, and I cannot tick it. Upon investigation into the job xml file, it appears that the column from neither source nor target is listed at all.

      *THis particular time it occured when i was using an existing import job file.*

      I have just gone through the process of NOT using the existing job file, and started from scratch, using the same SQL to pull the data… selecting the same existing table

      This time, as expected it mapped all the columns, and forcefully ticks every one ( i cannot untick them).

      edit: forgot to mention field exists by the same name in both tables, both are numbers

    • #21259
      peterlaursen
      Participant
      Quote:
      Upon investigation into the job xml file, it appears that the column from neither source nor target is listed at all.

      Now do I understand you correctly like this:

      1) You did an import some time ago, and saved the jobfile

      2) You have since then added a column to the3) You cannot after that add the new column and its mapping options using your existing jobfile?

      If that is it it would also be interesting to find out what happend if you had deleted a column from…. or changed indexes and similar things!

    • #21260
      scottah
      Member

      1) You did an import some time ago, and saved the jobfile

      Yes

      2) You have since then added a column to theYes

      3) You cannot after that add the new column and its mapping options using your existing jobfile?

      Yes

      If that is it it would also be interesting to find out what happend if you had deleted a column from…. or changed indexes and similar things!

      Yes it would.

      Whats the deal anyway, why can't I tick/untick those rows???

    • #21261
      peterlaursen
      Participant

      we need to research into that!

      Please answer: did you enter a query or use the GUI in the first place?

    • #21262
      scottah
      Member
      peterlaursen wrote on Sep 15 2006, 04:21 AM:
      Please answer: did you enter a query or use the GUI in the first place?

      Not sure I follow….

      The first time I just did a direct copy of the table, no query.

      The second time I needed only a subset, so I used a query…

Viewing 8 reply threads
  • You must be logged in to reply to this topic.