title: Creating an installation for a java project
body: <p>I created a java project that uses a database to retrieve, edit, and save data. I finished the project using Netbeans and now I want to create an installation out of the project. To do so, I want to include the database to be installed along with the project.
  The code I am using to connect to the database is:</p>
  
  <pre><code>Class.forName("com.mysql.jdbc.Driver");
  String connectionUrl = "jdbc:mysql://localhost/mysql?" + "user=root&amp;password=123";
  Connection con = DriverManager.getConnection(connectionUrl);
  </code></pre>
  
  <p>The application is working fine on my pc, but I need it to be installed as an executable on other pcs.</p>
  
  <p>What is the best way to do so?</p>