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 6074235
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T10:21:34+00:00 2026-05-23T10:21:34+00:00

I have a SQLite database that is created by reading some data in PDF

  • 0

I have a SQLite database that is created by reading some data in PDF files using Java. Every day (or almost) I have new PDF files to read that create new rows in some tables in my SQLite database.

Eventually, what I’d like to do is make the data in that database available on the internet using a MySQL database accessed by my website. The thing is, I have searched on Google, to no avail, how to migrate my database to MySQL. Of course I have found some programs to do so, but they don’t let me do it in an automated manner every day at midnight.

Also, if it’s possible, I’d rather do it another way: only updating the new rows that were added and migrate only those instead of recreating the whole database daily.

I don’t know what the best way to do something like this is, so if the tags are wrong, I’m sorry about it.

The computer that runs the java program to create / update the SQLite database is running Windows Vista, if it matters.

  • 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-23T10:21:35+00:00Added an answer on May 23, 2026 at 10:21 am

    You could include a timestamp in your SQLite table and set the default value to the time when the record was inserted (default now should do the trick). Then, you’d need a table in your MySQL database (or your SQLite database, whichever works better for you) that contains a single timestamp, this will be your “last imported time”.

    When it is time to do your data transfer:

    • Grab the last-imported-time.
    • Store the current timestamp in t.
    • Grab everything from your SQLite database that is newer than t and copy it to your MySQL database.
    • Update the last-imported-time in your database to t from above.

    Storing the timestamp that you’re using in t helps you avoid missing anything.

    If you’re also updating things in your SQLite database rather than just inserting things, then you could add another timestamp for the “last modified time”. Then apply the same logic as above with “copy” replaced with “update” or “delete and re-insert”.

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

Sidebar

Related Questions

I have a database file that is generated on a PC using Sqlite. This
I have created a SQLite database from Java. Now I want to know where
I have created a database using SQLite. I want to update the value of
I have created a data base (.sqlite) using SQLiteManager plugin for firefox,now I want
I have a Java application that parses pdf files in a directory and its
I am using the SQLite database and have the following persistent class (simplified): public
I have created a Python module that creates and populates several SQLite tables. Now,
I'm working with a sqlite database, using python/django. I would need to have my
I created a SQLite database via SQLiteManager. I have a table called Envelopes, and
Is it possible to protect sqlite database inside mobile app created using PhoneGap +

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.