1

I've a c++ application with connects to mysql database, creates table and adds some data into it using the mysql connector library.

The question is following : I would like pack my application so for using the the installation of mysql were not required. Is it possible to do at all ? If yet any hints, references are welcomed.

The application is managed c++ based.

deimus
  • 9,565
  • 12
  • 63
  • 107

2 Answers2

1

Yes, MySQL provides an embedded, in-process version that doesn't require you to install a separate MySQL server and yet provides pretty much the same functionality.

Note however that this is subject to license restrictions: you can either use it under a GPL license (and thus you must publish your application's source code if you ever redistribute it to a third-party) or under a commercial license (which you have to pay for, if you want to redistribute your application but not license it under GPL).

syam
  • 14,701
  • 3
  • 41
  • 65
0

I think there is a way. Have a look at one of my SO questions - How can I explore mysql database files (*.frm, *.myd and *.myi) without MySQL? I am also the one who answered it.

It gives you a hint on how you can carry the MySQL DB engine with you, provided you have successfully dealt with the licensing.

Community
  • 1
  • 1
mark
  • 59,016
  • 79
  • 296
  • 580