"Lauren Snyder" <lau...@protopc.com> wrote

I have written an application in python that uses a MySQL database. I want to distribute this application to many users so I created an executable

1. Is it possible to bundle the database into my application?

It may be possible but it is unusual.
Normally the database woyuld come as a sseparate installer so that
those who already have MySql can simply create a new database
on their existing server. It is much easier to administer multiple databases
on a single server than to have multiple servers ruinning!

2. Do I have to write a script that installs the database server
locally?

If it needs to be local. Do you not use an environment variable or config
file to allow the user to select where the database server runs?

3. Do I have to make "Users must have MySQL server running" as a
pre-requisite for using my software?

Usually yes, then provide a loader for MySql for those who need it.

HTH,


--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to