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

  • Home
  • SEARCH
  • 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 7826813
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T09:35:24+00:00 2026-06-02T09:35:24+00:00

I want to import big xlsx ( spreadsheet file ) into mysql database. I

  • 0

I want to import big xlsx ( spreadsheet file ) into mysql database.
I did it before by phpmyadmin , but this file is too big ( 205000 rows ).

so when I wanna do it by phpmyadmin,it has taken a long time and wasn’t done.

what is best and fast way to import it to mysql database?

  • 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-06-02T09:35:25+00:00Added an answer on June 2, 2026 at 9:35 am

    You can do it using the LOAD DATA command in MySQL:
    http://blog.tjitjing.com/index.php/2008/02/import-excel-data-into-mysql-in-5-easy.html

    Save your Excel data as a csv file (In Excel 2007 using Save As)
    Check the saved file using a text editor such as Notepad to see what it actually looks like, i.e. what delimiter was used etc.
    Start the MySQL Command Prompt (I usually do this from the MySQL Query Browser – Tools – MySQL Command Line Client to avoid having to enter username and password etc.)
    Enter this command:
    LOAD DATA LOCAL INFILE ‘C:\\temp\\yourfile.csv’ INTO TABLE database.table FIELDS TERMINATED BY ‘;’ ENCLOSED BY ‘”‘ LINES TERMINATED BY ‘\r\n’ (field1, field2);
    [Edit: Make sure to check your single quotes (') and double quotes (") if you copy and paste this code]
    Done!
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to import database in phpmyadmin but i got error like this... No
i want to import in my iphone application, but i know this framework is
I want to import the contents of a csv file into R, the csv
I have a MySQL file which I want to import via PHP 5. In
I'm creating locally a big database using MySQL and PHPmyAdmin. I'm constantly adding a
I want to import an oracle dump into a different tablespace. I have a
i Want to import a given css or javascript file depending os some conditions,
Hi I have an INFILE I want to import, but the dates are of
How do I import files in Python? I want to import: a file (e.g.
In fact, I got a C++ (working) DLL that I want to import into

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.