2 different things to my point of view:
You are trying to use a mysql database in your app.
And you are trying to use
Excelsior Jet[
^] to complie the app.
that has nothing in common.
QUESTION:
Are you trying to integrate a database into the app? So that you can deploy that database with the app?