简体   繁体   English

如何将Excel文件中的数据导入mysql

[英]How to import data from Excel file into mysql

I have records in Excel file.我在 Excel 文件中有记录。 The columns are really custom and nothing to do with any database column but I want to import this data from Excel file into MySQL data.这些列是真正自定义的,与任何数据库列无关,但我想将此数据从 Excel 文件导入到 MySQL 数据中。 Is there any tool in MySQL by which I can map Excel columns to MySQL table columns and import the required data from excel file to MySQL MySQL中是否有任何工具可以将Excel列映射到MySQL表列并将所需数据从Excel文件导入MySQL

Check this tutorial, it should help you with what you need检查本教程,它应该可以帮助您满足您的需求

phpMyAdmin – Import Excel CSV into table phpMyAdmin – 将 Excel CSV 导入表格

After 6 years of this Question - answer session,经过 6 年的问答环节,

I found a better solution from CSV format to import data into sql file.我从 CSV 格式找到了一个更好的解决方案来将数据导入 sql 文件。

Convert Excel file into Open Office Spread Sheet and Use Import option of phpMyAdmin将 Excel 文件转换为 Open Office 电子表格并使用 phpMyAdmin 的导入选项

It gave following advantages它具有以下优点

No data truncated No limitation of length of file Automatically upgraded SQL file structure to data format无数据截断无文件长度限制自动升级SQL文件结构为数据格式

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM