forums › forums › SQLyog › Using SQLyog › Error: 1280, Incorrect Index Name ''
- This topic is empty.
-
AuthorPosts
-
-
August 8, 2006 at 9:18 pm #9795cchiuMember
Hi all,
I've resorted to posting my own topic after searching the forums for anything related to my error and having come up empty. Google was also no help so let's see if anyone can help me with this.
I am using the Migration Toolkit under Powertools and just going through with the wizard, selecting the database and user dsn. Now after I select the tables and click next after having run immediately checked, it spits this error for all my tables while importing the table schema: “ERROR: 1280, Incorrect index name”
Any help will be appreciated
-
August 8, 2006 at 9:36 pm #22094peterlaursenParticipant
What is the program version that you are using?
What is the Source database that you are importing from?
What is the MySQL version that you are importing to?
Is it possible to create a not too big and unambigious 'test case' ? With this error we will only need structure – no data I think? Also try saving the jobfile and attach it here (or create a ticket if you don't want to expose it)
This “”ERROR: 1280, Incorrect index name”” is a MySQL server error – not a SQLyog error. It looks like index names are generated from the column names – and that these column names are not valid with MySQL as index names. Some PK-column for each table? If so try changing the
column name from the 'map' button – and avoid using special characters. -
August 8, 2006 at 9:50 pm #22095cchiuMemberpeterlaursen wrote on Aug 8 2006, 02:36 PM:What is the program version that you are using?
v5.02
Quote:What is the Source database that you are importing from?It is a Timberline Pervasive SQL database that is used via ODBC.
Quote:What is the MySQL version that you are importing to?5.0.22 on CentOS 4.3
Quote:Is it possible to create a not too big and unambigious 'test case' ? With this error we will only need structure – no data I think? Also try saving the jobfile and attach it here (or create a ticket if you don't want to expose it)This “”ERROR: 1280, Incorrect index name”” is a MySQL server error – not a SQLyog error. It looks like index names are generated from the column names – and that these column names are not valid with MySQL as index names. Some PK-column for each table? If so try changing the
column name from the 'map' button – and avoid using special characters. Being it is an MySQL error, here is the SQL text it is using to create one of the tables.
Code:CREATE TABLE `tphp`.`COMPANY_INFORMATION`(
`Company_Name` varchar(33) NOT NULL,
`Company_Address_1` varchar(33) NULL,
`Company_Address_2` varchar(33) NULL,
`Company_City` varchar(15) NULL,
`Company_State` varchar(4) NULL,
`Company_Zip_Code` varchar(10) NULL,
`Company_Phone` varchar(15) NULL,
`Company_Fax` varchar(15) NULL,
`Company_Email` varchar(50) NULL,
`Company_Web_Address` varchar(254) NULL,
PRIMARY KEY (`Company_Name` )
);For some reason, this worked earlier in the year when we first bought SQLYog, but now the Error 1280 lingers and is poorly documented online and with any useful outputs.
Thanks again for any help you all can provide.
-
August 9, 2006 at 10:54 am #22096peterlaursenParticipant
First of all please try a more recent SQLyog version.
We are practically helpless it we do not have a similar source databae and the ODBC driver.
Do you know if there is some DEMO/TRIAL available ?
-
August 9, 2006 at 11:56 am #22097ManojMember
Some of our customers have successfully imported from Pervasive v9. Are you using this version?
Can you provide us temporary access to your server?
If yes, create a ticket at Webyog Support to start a “threaded” and private discussion
-
August 10, 2006 at 9:05 pm #22098cchiuMember
Thanks a lot for your help. Looks like updating to latest SqlYog did the trick. We're currently importing the database with big smiles.
-
August 10, 2006 at 9:17 pm #22099peterlaursenParticipant
OK here they go!
😀 🙂 😀 🙂 😀 🙂 😀 🙂
-
-
AuthorPosts
- You must be logged in to reply to this topic.