Deploy MySQL Server + DB with .Net application

前端 未结 4 1161
隐瞒了意图╮
隐瞒了意图╮ 2020-12-06 18:16

HI All,

We have a .Net 2.0 application which has a MySQL backend. We want to be able to deploy MySQl and the DB when we install the application and im trying to find

相关标签:
4条回答
  • 2020-12-06 18:17

    Not sure where you're at in the project, but if it's a simple and small database you might consider converting it to SQLite. It's not ideal for Client/Server operations, but if it's low volume/transactions it might work.

    0 讨论(0)
  • 2020-12-06 18:24

    Use an installer with a worked out script. Any installer like Wise, InstallShield, InnoSetup, etc will probably do.

    0 讨论(0)
  • 2020-12-06 18:34

    With a Client/Sever setup, you're allowed to require that whoever installs the server install it as an admin. That should solve most of your problems.

    Again- that's the server. The clients might be another story.

    0 讨论(0)
  • 2020-12-06 18:39

    We took a different approach on this. We make MySQL xcopy-able, by writting a wrapper to generate the configuration file(my.ini) before calling MySQL (to correctly setup the base path and so on). Then we written another service installed using the standard setup. This service will take care of starting MySQL and other required background program (in our case Apache) for us. Since the MySQL is deploy by us, we wanted to have full control over it.

    0 讨论(0)
提交回复
热议问题