Results 1 to 2 of 2
  1. #1
    mosk is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jan 2012
    Posts
    2

    Need help getting Access 2010 database into MySQL

    I'm trying to get an Access 2010 database into MySQL so I can use it in Drupal. I downloaded Bullzip and used it to convert one Database without problems. On the second, database, however, I get the following error message when I try to import the newly made SQL file through PHPMyAdmin on my local host installation of WAMP:




    MySQL said:
    #1075 - Incorrect table definition; there can be only one auto column and it must be defined as a key SQL query:
    CREATE TABLE `Contacts` (
    `ContactID` INTEGER NOT NULL AUTO_INCREMENT ,
    `CompanyName` VARCHAR( 50 ) ,
    `Address` VARCHAR( 255 ) ,
    `Represents` VARCHAR( 50 ) ,
    `StateOrProvince` VARCHAR( 20 ) ,
    `City` VARCHAR( 50 ) ,
    `PostalCode` VARCHAR( 20 ) ,
    `WorkPhone` VARCHAR( 30 ) ,
    `Notes` LONGTEXT
    ) ENGINE = MYISAM DEFAULT CHARSET = utf8;


    Looking at the Access database, my file only has one auto column (ContactID set to AutoNumber) and it is set as the only key - so not sure where to go from here.

    Thanks for any help.

  2. #2
    mosk is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jan 2012
    Posts
    2
    Ok - solved this by unchecking an 'Auto Number Properties' option that must have been adding an extra auto property during the conversion.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Execute MySQL Stored Procedure with Access 2010 VBA?
    By DanielHofer in forum Programming
    Replies: 5
    Last Post: 01-23-2012, 01:08 PM
  2. Replies: 1
    Last Post: 11-25-2011, 11:16 AM
  3. Replies: 1
    Last Post: 08-30-2011, 11:54 PM
  4. Export MySQL database into Access
    By Yesideez in forum Import/Export Data
    Replies: 6
    Last Post: 08-08-2011, 12:13 PM
  5. Access database to Mysql
    By fsmikwen in forum Access
    Replies: 4
    Last Post: 11-16-2009, 05:40 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums