I want to silently install MySQL 5.0 in NSI. I tried the following code in NSI:
ExecWait 'msiexec /i "$INSTDIR\mysql-essential-5.0.27-win32.msi" /qn'
ExecWait "C:\Program Files\MySQL\MySQL Server 5.0\bin\mysqlinstanceconfig.exe -i -q ServiceName=MySQL RootPassword=root ServerType=DEVELOPMENT DatabaseType=MYISAM Port=3306 RootCurrentPassword=root"
This installs the MySQL but doesn't cofigure it.
I want to configure it with
- pass=root
- port=3306
- servicename=Mysql
- and enable root access from remote machine
EDIT1
Now it's getting configured...
For serverhost as localhost or 127.0.0.1 it works, but not for the ip addreses of the other systems .which are on network.
If I try to access the database on silently installed database from PC on network I get the following error:
I think this is because I need to pass some parameter for and enabling root access from remote machine..
