Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6244913
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T12:24:45+00:00 2026-05-24T12:24:45+00:00

So I have this gigantic table, containing approx 7 million records, in MS Access

  • 0

So I have this gigantic table, containing approx 7 million records, in MS Access (*.mdb), I want to transfer it into a much more workable MySQL format, and store it on my webserver. The file itself weighs 2GB.

The problem is, since the table is so large, it won’t let me export it normally (Access says the limit is 65,536 records.)

I’ve tried some 3rd party software but to no avail.

Can anyone recommend a clean way of doing so, without damaging the data inside?

Thanks in advance for any help.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T12:24:46+00:00Added an answer on May 24, 2026 at 12:24 pm

    Install an ODBC driver for MySQL, if you don’t have one already. The latest version is available here: Download Connector/ODBC

    Create a DSN (Data Source Name) for your MySQL server from the Windows ODBC Data Source Administrator.

    Then from Access 2003, select your table in the Database Window, and choose File->Export from Access’ main menu. In the “Export Table ‘yourtablename‘ To …” dialog, select “ODBC Databases()” from the “Save as type” drop-down list (at the bottom of the dialog). The next dialog allows you to specify the name MySQL will use for the exported table, and it defaults to the Access table name. After you click OK, you will get another dialog, “Select Data Source”, where you can select your DSN for MySQL. After you click OK on that dialog, you will probably get one more asking you for user name and password. Supply them, and click OK.

    Hopefully your table will then transfer without errors. However, I’ve never done that operation with MySQL. It has worked for me with ODBC transfers to SQL Server and PostGreSQL. So I don’t see why it wouldn’t work with MySQL, too.

    Also I’ve never attempted to export 7 million records in one go. If it chokes, we’ll have to figure out a work-around.

    If you’re using Access 2007 instead of 2003, look for a similar option starting with the Export section of the ribbon.

    I suggested this approach because my impression is this export will be a one-time deal, so I think the Access UI export method would be easiest. However, you can do essentially the same operation with VBA code using the DoCmd.TransferDatabase Method with your ODBC DSN.

    Yet another alternative would be to create a compatible table structure in MySQL, create a link in Access to the MySQL destination table (using your DSN again), then run an “append query” from Access:

    INSERT INTO link_to_mysql_table (field1, field2, field3, etc)
    SELECT field1, field2, field3, etc
    FROM access_table;
    

    The append query approach could be useful in case the export chokes on 7 million records. You could add a WHERE clause to limit the SELECT query’s output record set to a manageable chunk size, and then repeat with a different WHERE to specify another chunk.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this gigantic ugly string: J0000000: Transaction A0001401 started on 8/22/2008 9:49:29 AM
I inherited this gigantic legacy Java web app using Struts 1.2.4. I have a
I inherited this gigantic legacy Java web app using Struts 1.2.4. I have a
I have this code in jQuery, that I want to reimplement with the prototype
I currently have a closure table used for hierarchical data that has 5 million
This time I have a more philosopical question. Most MVC tutorials/books seem to suggest
Not sure if this question is suitable for StackOverflow as it's much more 'general'.
We have a legacy VB6 application that is very procedural. This thing is gigantic!
Have this objects and table types: CREATE TYPE Person_typ AS OBJECT ( name CHAR(20),
I have this one gigantic complex LINQ to SQL query that I need to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.