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

Error: 1280, Incorrect Index Name ''

forums forums SQLyog Using SQLyog Error: 1280, Incorrect Index Name ''

  • This topic is empty.
Viewing 6 reply threads
  • Author
    Posts
    • #9795
      cchiu
      Member

      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

    • #22094
      peterlaursen
      Participant

      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.

    • #22095
      cchiu
      Member
      peterlaursen 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.

    • #22096
      peterlaursen
      Participant

      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 ?

    • #22097
      Manoj
      Member

      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

    • #22098
      cchiu
      Member

      Thanks a lot for your help. Looks like updating to latest SqlYog did the trick. We're currently importing the database with big smiles.

    • #22099
      peterlaursen
      Participant

      OK here they go!

      😀 🙂 😀 🙂 😀 🙂 😀 🙂

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