cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
jnagendra
Level 4

Configure MYSQL through silent installation

I am able to install MYSQL 5.0 silently using prerequisite. But need a way to configure "MySQLInstanceConfig.exe" silently. Can anyone of you please guide me the way to do it. It will be great help. Thanks in advance

 

I am using Installshield Spring 2012

 

 

Labels (1)
0 Kudos
(1) Reply
jnagendra
Level 4

After a long research i could solve the problem in installing and configuring MYSQL 5.0 silently !!!

1. Install MYSQL using Prerequisite 

2. Create a batch file with command line for running the configuration wizard

"%MySQLServerPath%\MySQLInstanceConfig.exe" -i -q ServerType=DEVELOPER ConnectionUsage=DSS Port=3306 StrictMode=yes Charset=utf8 DatabaseType=MIXED ServiceName=MySQL RootPassword=password

3. For dynamically search for existing MYSQL folder, add below steps before the command line (Point 2)

if "%ProgramFiles(x86)%" == "" (
set "MySQLServerPath=%ProgramFiles%\MySQL\MySQL Server 5.0\bin"
) else (
set "MySQLServerPath=%ProgramFiles(x86)%\MySQL\MySQL Server 5.0\bin"
)

 

0 Kudos