Silent install of MySQL with INNOSETUP or InstallBuilder
Hi Guys,
I need to change the topic.
I would like to make the installation packed with MySQL, and the silent configuration to run the Database.
The most important thing for me is to configurate the database silently by this:
Code:
"C:\Program Files\MySQL\MySQL Server 5.0\bin\MySQLInstanceConfig.exe" -i -q "-nMySQL
Server 5.0" "-pC:\Program Files\MySQL\MySQL Server 5.0" -v5.0.51b -lC:\mysql_config.log
"-tC:\Program Files\MySQL\MySQL Server 5.0\my-template.ini" "-cC:\Program
Files\MySQL\MySQL Server 5.0\my.ini" ServiceName=MySQL50 AddBinToPath=no
ServerType=DEVELOPMENT DatabaseType=MIXED ConnectionUsage=DSS Charset=utf8
SkipNetworking=no Port=3306 RootPassword=
or this:
Code:
cd\
cd Program Files
cd MySQL
cd MySQL Server 5.0
cd bin
MySQLInstanceConfig.exe -i -q "-lC:\mysql_install_log.txt"
"-nMySQL Server 5.0" "-pC:\Program Files\MySQL\MySQL Server
5.0" -v5.0.45 "-tC:\Program Files\MySQL\MySQL Server
5.0\my-template.ini" "-cC:\mytest.ini" ServerType=DEVELOPMENT
DatabaseType=MIXED ConnectionUsage=DSS Port=3306 ServiceName=
RootPassword=pass
break
exit
Or maybe there is other way to fully configurtate MySQL after the installation.
Any solutions really appreciated.
Re: How to install MySQL without any configuration
I think you are looking for a Silent Install option?
- mysqld-nt.exe --install
- net start MySQL
Re: How to install MySQL without any configuration
Ok I think I know how to do it.
Anyway. Does anybody know how to "automate" server instance configuration? ( Innosetup )?
Re: How to install MySQL without any configuration
Hi again,
almost done.
One thing:
Is there any possible to "start service" and "apply security settings" automatically just after installation done?