torpkevuk
12-07-2005, 11:29 AM
I have a program completed that connects to a MySQL database. I've got code in my software that on startup checks, and if needs be creates the database structure.
But..
How can I go about, using my install, automatically installing MySQL, and create the username and password. Like I say.. the database structure is sorted via code, but creating the username and password is a problem for me, and my boss wants everything to run from a single setup file with no messing about cause it will be installed by people with little to no computer knowledge
p.s. sorry if this is in the wrong section, its about a database, wasn't sure if its the best place for it though.
But..
How can I go about, using my install, automatically installing MySQL, and create the username and password. Like I say.. the database structure is sorted via code, but creating the username and password is a problem for me, and my boss wants everything to run from a single setup file with no messing about cause it will be installed by people with little to no computer knowledge
p.s. sorry if this is in the wrong section, its about a database, wasn't sure if its the best place for it though.