Click here to Skip to main content
16,018,057 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i try to install MySQL Server 5.7.21 with Custom Action in Advanced Installer :

community install server;5.7.21;X86:*:servertype=Server;Port=3309;ServiceName=mysqlss;passwd=123 -silent


some time MySQL Installation success , and another time failed.

What I have tried:

1- i tried to install it manually and it installed successfully , also i tried :

2- i tried to make to install it with Same Custom action on windows 7 , 8 , 10. but some time success , and another time failed.

i checked Log file C:\ProgramData\MySQL\MySQL Installer for Windows\Logs
mysql-installer Information: 10 : Configuration file found.
mysql-installer Information: 10 : Loaded configuration.
mysql-installer Information: 10 : Saving configuration.
mysql-installer Information: 10 : Package - setting up controller
mysql-installer Information: 10 : Loading controllers from C:\Program Files (x86)\MySQL\MySQL Installer for Windows\MySQLInstaller.Core.dll
mysql-installer Information: 10 : Loading controllers from C:\Program Files (x86)\MySQL\MySQL Installer for Windows\StandardPlugins.dll
mysql-installer Information: 10 : Creating configuration controller for: mysql-server.
mysql-installer Information: 10 : Product configuration controller created.
mysql-installer Information: 10 : Package - Initializing controller
mysql-installer Information: 10 : Package - Installed - Loading controller state
mysql-installer Information: 10 : Product Configuration Controller - Initializing controller
mysql-installer Information: 10 : Product Configuration Controller - Loading Settings state
mysql-installer Information: 10 : Controller Settings - Load Load Defaults For Install - load and set default settings
mysql-installer Information: 10 : Server Settings - Load Ini Defaults - setting initial ini values
mysql-installer Information: 10 : Beginning changes for MySQL Server 5.7.21 with options REBOOT=ReallySuppress  ADDLOCAL=ALL INSTALLDIR="C:\Program Files (x86)\MySQL\MySQL Server 5.7" INSTALLLOCATION="C:\Program Files (x86)\MySQL\MySQL Server 5.7" ARPINSTALLLOCATION="C:\Program Files (x86)\MySQL\MySQL Server 5.7" INSTALL_ROOT="C:\Program Files (x86)\MySQL\MySQL Server 5.7"  DATADIR="C:\ProgramData\MySQL\MySQL Server 5.7" ALLUSERS=1
mysql-installer Information: 10 : MySQL Server 5.7.21's change state request failed.
mysql-installer Information: 10 : Server Settings - Load Ini Defaults - setting initial ini values
mysql-installer Information: 10 : Starting configuration of MySQL Server 5.7.21
mysql-installer Information: 10 : Attempting to create firewall rule with command: netsh.exe  firewall delete portopening protocol=TCP port=3306 profile=ALL
mysql-installer Information: 10 : Adding firewall rule for mysqlss on port 3309.
mysql-installer Information: 10 : Attempting to create firewall rule with command: netsh.exe  firewall add portopening protocol=TCP port=3309 profile=ALL name=mysqlss mode=ENABLE scope=ALL
mysql-installer Information: 10 : Successfully added firewall rule.
mysql-installer Information: 10 : Attempting to grant Network Service require filesystem permissions.
mysql-installer Information: 10 : Granted permissions.
mysql-installer Information: 10 : Adding new service
mysql-installer Information: 10 : New service added
mysql-installer Information: 10 : Attempting to run MySQL Server with --initialize-insecure option...
mysql-installer Information: 10 : Starting process for MySQL Server 5.7.21...
mysql-installer Information: 10 : Finished configuration of MySQL Server 5.7.21 with state ConfigurationError



3- i tried to install Mysql Server 8.0.12 (latest) and it seem that it have Mysql Server 8.0.12 X68 only , and i used this command action

community install server;8.0.12;X64:*:servertype=Server;Port=3309;ServiceName=mysqlss;passwd=123 -silent


but this error appears also ..

mysql-installer Information: 10 : Configuration file found.
mysql-installer Information: 10 : Loaded configuration.
mysql-installer Information: 10 : Saving configuration.
mysql-installer Information: 10 : Package - setting up controller
mysql-installer Information: 10 : Loading controllers from C:\Program Files (x86)\MySQL\MySQL Installer for Windows\MySQLInstaller.Core.dll
mysql-installer Information: 10 : Loading controllers from C:\Program Files (x86)\MySQL\MySQL Installer for Windows\StandardPlugins.dll
mysql-installer Information: 10 : Creating configuration controller for: mysql-server.
mysql-installer Information: 10 : Product configuration controller created.
mysql-installer Information: 10 : Package - Initializing controller
mysql-installer Information: 10 : Package - Installed - Loading controller state
mysql-installer Information: 10 : Product Configuration Controller - Initializing controller
mysql-installer Information: 10 : Product Configuration Controller - Loading Settings state
mysql-installer Information: 10 : Controller Settings - Load Load Defaults For Install - load and set default settings
mysql-installer Information: 10 : Server Settings - Load Ini Defaults - setting initial ini values
mysql-installer Information: 10 : Beginning changes for MySQL Server 8.0.12 with options REBOOT=ReallySuppress  ADDLOCAL=ALL INSTALLDIR="C:\Program Files\MySQL\MySQL Server 8.0" INSTALLLOCATION="C:\Program Files\MySQL\MySQL Server 8.0" ARPINSTALLLOCATION="C:\Program Files\MySQL\MySQL Server 8.0" INSTALL_ROOT="C:\Program Files\MySQL\MySQL Server 8.0"  DATADIR="C:\ProgramData\MySQL\MySQL Server 8.0" ALLUSERS=1
mysql-installer Information: 10 : MySQL Server 8.0.12's change state request failed.
mysql-installer Information: 10 : Server Settings - Load Ini Defaults - setting initial ini values
mysql-installer Information: 10 : Starting configuration of MySQL Server 8.0.12
mysql-installer Error: 50 : Value cannot be null.
Parameter name: path
mysql-installer Information: 10 : Attempting to delete a Windows Firewall rule with command: netsh.exe advfirewall firewall delete rule name="Port 3306" protocol=TCP localport=3306
mysql-installer Information: 10 : 
No rules match the specified criteria.


mysql-installer Information: 10 : An error occurred running netsh.exe delete:
The netsh.exe process did not return any error. Review the application log to see if there is a trace of the error.
mysql-installer Information: 10 : The attempt to delete a Windows Firewall rule failed.
You can add or delete a Windows Firewall rule manually by following the instructions at this URL:
http://windows.microsoft.com/en-US/windows-vista/Allow-a-program-to-communicate-through-Windows-Firewall
mysql-installer Information: 10 : Adding a Windows Firewall rule for mysqlss on port 3309.
mysql-installer Information: 10 : Attempting to add a Windows Firewall rule with command: netsh.exe advfirewall firewall add rule name="Port 3309" protocol=TCP localport=3309 dir=in action=allow
mysql-installer Information: 10 : Ok.


mysql-installer Information: 10 : Successfully added the Windows Firewall rule.
mysql-installer Information: 10 : Attempting to grant Network Service require filesystem permissions.
mysql-installer Information: 10 : Granted permissions.
mysql-installer Information: 10 : Adding new service
mysql-installer Information: 10 : New service added
mysql-installer Information: 10 : Attempting to run MySQL Server with --initialize-insecure option...
mysql-installer Information: 10 : Starting process for MySQL Server 8.0.12...
mysql-installer Information: 10 : Finished configuration of MySQL Server 8.0.12 with state ConfigurationError


3- i tried :
Visual C++ Redistributable 2013 x86
Visual C++ Redistributable 2013 x64
Visual C++ Redistributable 2015 x86
Visual C++ Redistributable 2015 x64
Posted
Updated 11-Sep-18 11:31am
v4
Comments
phil.o 10-Sep-18 21:11pm    
I found a couple of links which seem related to the very same issue:
Bug #89066: Problem instally mysql server fails at 50% [^]
MySQL 5.7.19 not installing. Giving same error [^]
Hope this helps.
Matias Lopez 11-Sep-18 13:11pm    
The firewall was fixed if you look the install report down, but this throw this:
path: Value cannot be null.

Does the mysql installer need this parameter? Did you check this?
Golden Basim 11-Sep-18 13:37pm    
how i can check it ?
Golden Basim 11-Sep-18 13:42pm    
please check the first log (5.7.21)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900