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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T15:48:51+00:00 2026-06-12T15:48:51+00:00

I am packaging a java webapp software using XAMPP so that my users do

  • 0

I am packaging a java webapp software using XAMPP so that my users do not have to install dependencies like mysql. I can run the webapp.

I copied over the schema files (.frm) format to the xampp mysql/data directory.
But I have a mysqldump file that I want to ship with the software so that on the first installation the tables are created and some default data is populated. Can you suggest a good way to do that?

My understanding is that the .frm files contain only the schema.
The best solution for my usecase would be to package the .sql file with the software so that it gets run for the first time.

  • 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-12T15:48:52+00:00Added an answer on June 12, 2026 at 3:48 pm

    I found a solution. I have a script that the user must run when using the software for the first time. In that script I import the .sql file using mysql -u <username> -p<password> <database-name> < file.sql.

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

Sidebar

Related Questions

I have a Java EE web application that does not make use of EJBs.
We are working on packaging Java 7 application for Windows using install4j. The problem
I am beginning a new Java web application using Netbeans, and I would like
Packaging GWT project using mvn package fails and I have the following ouput: [INFO]
I have a Java application that launches multiple windows (JFrames). It works fine when
I am currently trying to build a Java Project with several dependencies. I have
I have a war packaging Maven project, in which I have a Java properties
I have a java application from which I build a jar that relies on
I'm trying to create a simple Java webapp using IntelliJ (v11.1.3) and integrate it
I'm trying to learn annotations. I currently have a webapp that runs an init()

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.