开发者

Bundling MySQL with an application

There are alot of applications like MAMP, WAMP, etc. That come with a version of mysql that needs no installation and can be turned on and off easily. I am trying to create a web based application that will use a mysql databa开发者_如何学Cse, where do you get mysql to bundle and how is it done so the user doesn't have to install it?


you can get it mysql

http://dev.mysql.com/downloads/

you can used php, ruby (rubyonrails) or java for developed application. in the case php install xampp.


MAMP, WAMP, etc. all have a bunch of configuration that is already set up for them. Essentially they've installed MySQL and everything else included under a single directory that doesn't rely on anything outside that directory and then zipped it up together. I'm not sure exactly what you're trying to do, but that really seems like overkill. May I suggest checking out sqlite? It's designed for bundling and embedding and will be quite a bit easier to deal with.


Are you truly creating a Web Based app or are you wanting to create a desktop application using web scripting languages?

If you are creating a web app, you shouldn't need to bundle MySQL since when you deploy to your hosting environment it should already be in place. If you truly need to package everything you'd be best off offering your software as a virtual machine appliance with the appropriate services already configured and running.

If you are creating a desktop app, that's a whole other issue.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜