mysqlinnodbinstallationdeployment

How to distribute mysql with java application


I have designed a free software in Java that uses a MySQL db at back end. How could I distribute minimal MySQL (that is enough for performing basic SQL transactions) with my jar file. Currently I am using MySQL-essential installer but there are configuration problems with it on some PCs.

I thought of using the no-install version but it is too big (235 MB) for my application.


Solution

  • It is solved now. I can add the MySQL essential package(size 40MB) with my deployment package and install with the help of PowerShell command and place the configured file in applaction.

    Problem Solved!