简体   繁体   English

将数据从MS-Access传输到MySql数据库的最佳方法

[英]Best way to transfer the data's from MS-Access to MySql database

I am using My-Sql database. 我正在使用My-Sql数据库。 I have MS-Access as external database . 我有MS-Access作为外部数据库。 The MS-Access database contains the original data's . MS-Access数据库包含原始数据。

I want to do : 我想做

Need to retrieve the data's from MS-Access database , to My-Sql database table 需要从MS-Access数据库检索数据到My-Sql数据库表

To achieve this task what i am thinking is : 为了实现此任务,我在想的是:

  • Create a java class to retrieve the data's from MS-Access 创建一个Java类以从MS-Access检索数据
  • Store the data's into my database My-Sql 存储数据的到我的数据库My-Sql
  • Use Thread concept to run the java class for simultaneous process(every 10 mins) 使用Thread概念来运行Java类以进行同时处理(每10分钟)

    I want your suggestion for this, Whether my point is correct? 我想要您的建议,我的观点是否正确? If not , Is there any way to achieve this task simply ...! 如果没有, 有什么方法可以简单地完成此任务 ...!

I found the answer from quartz-scheduler 我找到了石英调度器的答案

quartz-scheduler 石英调度

It is an great feature fro java to fix the time for at which time program being executed Java的一个很棒的功能是修复程序执行的时间

To transfer the data from MS-Access to MySql what is did is 要将数据从MS-Access传输到MySql要做的是

  • Created a java class that retrieve the data from MS-Access for every 创建了一个Java类,每个类都从MS-Access检索数据
  • 10 min Created a java class that perform to copy the retrieved data 10分钟创建一个Java类,执行该类以复制检索到的数据
  • into My-Sql Converted these two classes into Executable EXE file 转换为My-Sql将这两个类转换为可执行EXE文件
  • I deployed it in windows schedular task(Automatic execution when the system boot) 我将其部署在Windows计划任务中(系统启动时自动执行)

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

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