title: How to store data into MySQL database?
body: <p>I have created a java application which stores data into MySQL database.</p>
  
  <p>For that I have done the following things:</p>
  
  <ol>
  <li>I have installed MySQL database on my computer.</li>
  <li>I have created a database on that MySQL server.</li>
  <li>I have created a table in the database with the required schema.</li>
  </ol>
  
  <p>Now I want to deliver this application to various clients but my clients are not technical persons and I don't want to give instructions to each of my client to do the above three steps.</p>
  
  <ol>
  <li><p>How can I integrate some functionality into my app so that it can do atleast step 2 and step 3 automatically so that the client needs to install only MySQL database.</p></li>
  <li><p>It would be much better if the code can install the MySQL database automatically from the setup file attached with the application.</p></li>
  <li><p>How the applications available in the market manage information?</p></li>
  </ol>