forums › forums › SQLyog › Using SQLyog › Error While Importing Table Structure And Data Form Oracle To Mysql
- This topic is empty.
-
AuthorPosts
-
-
December 29, 2010 at 7:13 am #12209AvinashMember
Hi All,
Currently we are working on Oracle to MySQL migration using SQLyog.
Below are the MySQL and SQLyog versions being used
MySQL : 6.0.11-alpha[Windows 32 bit]
MySQL Migration Tool : SQLyog-8.7.1-0 Trail Version
While importing the table structure and data we are getting 'Key column doesn't
exist in table' error and the error code is 1072. Also we noticed that in few cases
though import is successfull(for few tables) not all the columns are imported.
Attached is the sja log file.
Please let us know about the root cause for the above error.
Waiting in anticipation for your reply.
Thanks & Regards
Avinash
-
December 29, 2010 at 8:38 am #31749peterlaursenParticipant
OK .. we will check this. We will probably need more information but wait for us to ask this. But it looks like the oracle Database uses 'virtual columns'. This is not supported by MySQL (with the exception of the latest MariaDB release) and I think not by ODBC either.
Also you should not use MySQL 6.x. It is discontinued. Use 5.1 or 5.5 tree's instead.
-
December 29, 2010 at 12:59 pm #31750AparnaMember
Hi Avinash,
In order to identify the exact issue we require the following information:
1. The version of ORACLE you are using.
2. The schema of the table that you are trying to import.
3. Please attach your import job file here(If you do not have one created then you can crate it during the import process by selecting the saving option->save job file and finally specifying the path and the file name where you want to store the job file).
Regards,
Aparna.
-
December 29, 2010 at 1:12 pm #31751AparnaMember
Please find the screen shots attached here for the instructions given above.(Instructions given to create a job file).
-
January 4, 2011 at 6:49 am #31752AvinashMember
Hi Aparna,
Below are the oracle/mysql versions being used.
Oracle : 10g
MySQL : 6.0.11-alpha[Windows 32 bit]
MySQL Migration Tool : SQLyog-8.7.1-0 Trail Version
Please find attached the job profile and sample table schema.
Waiting in anticipation for your reply.
Regards
Avinash
-
January 4, 2011 at 6:53 am #31753AvinashMember
Hi Aparna,
Attached is jobprofile for the sample import.
Regards
Avinash
-
January 5, 2011 at 8:19 am #31754AparnaMember
Hi Avinash,
From the jobfile and the table structure that you have provided I can understand that you have defined unique index on many columns where as you are trying to import just a single column from that index group. In this case for SQLyog to import the data successfully you either have to select all columns or uncheck the option that reads import index from the advanced tab.
Regards,
Aparna.
-
January 11, 2011 at 7:50 am #31755AparnaMember
Hi Avinash,
Do you still have problems while importing data from oracle? If yes then please let us know the issue and we will be glad to assist you.
Regards,
Aparna.
-
-
AuthorPosts
- You must be logged in to reply to this topic.