How to integrate MySQL server with electron app's package for windows?

Viewed 528

I created a retail/POS desktop application with electron for my client, I used MySQL for database. Now I want to create a package for windows but the problem is that a user have to install MySQL server manually in his/her system to run the application. I'm looking for a solution that helps to bundle the MySQL server within the app setup/installer. I searched a lot but couldn't find any relevant solution. Is there any solution for this from your side? Thanks for future inputs.

Electron - ^12.0.2, electron-builder - ^22.10.5 | electron-packager - ^15.2.0

MySQL - 8.0, mysql2(driver) - ^2.2.5, ORM - Sequelize

Note:- I don't want to use solution like sqlite because it is not appropriate for this application.

0 Answers
Related