Opensource packaging software for Mysql Server wit

2019-08-28 22:00发布

I have a Java desktop application which uses mysql database . Is there any Open source software for packaging or executable wrapper of Mysql server and Java desktop application into one single Exe/Debian package where i need not separately install Mysql server separately . Its like one click installer which installs everything and the application is ready to use. Thanks

3条回答
戒情不戒烟
2楼-- · 2019-08-28 22:32

The problem here is that MySQL is a standalone server, and cannot be easily embedded. You should use an embeddable or serverless database, such as :

查看更多
老娘就宠你
3楼-- · 2019-08-28 22:37

You'll probably have to script something together and use the NSIS installer builder (which is free) for Windows.

For Debian it'll be just some scripts which have to be packaged together in a .deb.

But I really don't think there is a out of the box, or off the shelf solution for this.

Good luck :)

查看更多
够拽才男人
4楼-- · 2019-08-28 22:40

Just so it's said here, if you are not a Open Source project, what you are trying to do is not only a problem technically but also could be one legally. From the mySQL license agreement:

For OEMs, ISVs, VARs and Other Distributors of Commercial Applications:

OEMs, ISVs, VARs and other distributors that combine and distribute commercially licensed software with MySQL software and do not wish to distribute the source code for the commercially licensed software under version 2 of the GNU General Public License (the "GPL") must enter into a commercial license agreement with Sun.

查看更多
登录 后发表回答