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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T23:57:32+00:00 2026-06-10T23:57:32+00:00

I am creating an web application which is replacing the outdated one I currently

  • 0

I am creating an web application which is replacing the outdated one I currently use. The database is also outdated and horribly structured. For testing purposes I would like to export the old database and load it into the new one to have test data for the new web application. However, because of the schema changes to the database I need to manually change:

  • Table names
  • Column names

Example:

Old Database Table: part

id | date | user

New Database Table: apx_parts

id | date_created | user_id

Is there a MySQL tool or something to automate this? Would it have to be self-written in a scripting language?

Edit

Just to clarify, the reason I want it automated is because I want to use the most recent data that the old application is collecting.

  • 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-10T23:57:34+00:00Added an answer on June 10, 2026 at 11:57 pm

    You’re probably thinking about using mysqldump to copy the schema and data over. Instead, think about exporting the data by itself.

    Create the new database and tables as you normally would.

    Export the data from the old database using SELECT…INTO. Column names don’t matter here. If there are new columns in the new database, you can compute their values in this SELECT or just ignore them.

    Import the data into the new database using LOAD DATA

    Good luck.

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

Sidebar

Related Questions

I am creating a PHP based web application which requires simple authentication to use.
I'm creating a new web application which will use a bunch of Data Access
I am creating one web application in which I am showing watermark text for
I am creating one azure application which has 2 web roles. One web role
I am creating a web application which has a few management screens, where a
I am creating a web application in Java in which I need to run
I am creating a web application framework, in which I am providing support for
I am creating an application which involves so many web-service calls. I am using
I am creating an application in which I want to access a web service
I'm creating a web application using asp.net & WCF as 3 tier architecture, which

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.