简体   繁体   English

将数据导入mysql的最佳方法

[英]best way of importing data into mysql

i have a table with 500,000 rows and about 10 columns that is in access 我有一个包含500,000行和大约10列的表格

how do i import it into mysql? 我如何将其导入mysql?

Here's a writeup on the subject. 这是关于这个主题的写作。

http://www.kitebird.com/articles/access-migrate.html http://www.kitebird.com/articles/access-migrate.html

This outlines 3 strategies to accomplish your task of migrating to MySQL 这概述了完成迁移到MySQL任务的3种策略

  • Telling Microsoft Access to Export Its Own Tables 告诉Microsoft Access出口其自己的表
  • Converters That Generate Intermediate Files (ie CSV) 生成中间文件的转换器(即CSV)
  • Converters That Perform Direct Data Transfer 执行直接数据传输的转换器

Also, some Forum Discussion on the issue. 还有一些关于这个问题的论坛讨论

And finally, software exists ( Access MySQL Import, Export & Convert ) that might do the trick also. 最后,软件存在( 访问MySQL导入,导出和转换 )也可能起到作用。 Note: I've never used this so I really don't know how good it works, I just added it for completeness. 注意:我从来没有使用过这个,所以我真的不知道它有多好用,我只是为了完整而添加它。

As you can see, there are several ways to accomplish this, I recommend checking out each one and choosing the one that works best for you . 正如您所看到的,有几种方法可以实现这一点,我建议您查看每个方法并选择最适合您的方法

转储到csv并使用mysqlimport导入csv是另一种选择。

Bullzip has a free Access to MySQL tool. Bullzip有一个免费的MySQL访问工具。 Really useful and quick. 真的很有用,也很快。

ps Relations are not included ps不包括关系

http://www.bullzip.com/products/a2m/info.php http://www.bullzip.com/products/a2m/info.php

See: 看到:

Access2MySQL Access2MySQL

Access to MySQL is a small program that will convert Microsoft Access Databases to MySQL 访问MySQL是一个小程序,将Microsoft Access数据库转换为MySQL

在此输入图像描述

@Wizard interface. @Wizard界面。

@Transfer data directly from one server to another. @直接从一台服务器传输数据到另一台服务器。

@Create a dump file. @Create转储文件。

@Select tables to transfer. @Select表转移。

@Select fields to transfer. @选择要转移的字段。

@Transfer password protected databases. @Transfer密码保护的数据库。

@Supports both shared security and user-level security. @支持共享安全性和用户级安全性。

@Optional transfer of indexes. @索引的可选转移。

@Optional transfer of records. @Optional转移记录。

@Optional transfer of default values in field definitions. @字段定义中的默认值的可选传输。

@Identifies and transfers auto number field types. @Identifies并传输自动编号字段类型。

@Command line interface. @Command线路界面。

@Easy install, uninstall and upgrade. @Easy安装,卸载和升级。

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

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