SnapCenter 4.9 和 5.0 安装失败,安装过程中出现致命错误
适用场景
- SnapCenter 服务器 (SC) 4.9 和 5.0
- MySQL 服务器
问题描述
- SnapCenter 升级到 4.9 或 5.0;或者全新安装 SnapCenter 4.9 或 5.0 失败返回 GUI
fatal error during installation.
- MySQLInstaller 日志错误:
InstallShield.log
(CLR Action): GetMySqlConnection: Error: MySQL Exception occured: Threw Exception.Type: Devart.Data.MySql.MySqlException, Exception Error Code: 0x80004005, Exception.Message: Can't connect to MySQL server on 'localhost' (10061):
No connection could be made because the target machine actively refused it 127.0.0.1:3306
(CLR Action): ExecuteNonQuery: Error: MySQL Connection is invalid.
MySQLInstaller_<Date_Time>.log
Install MySQL Server.Log: Installation : Failed to start process for MySQL Server <Version>
Install MySQL Server.Log: Installation : Database initialization failed.
Install MySQL Server.Log: Installation : Configuration of MySQL Server <Version> has completed unsuccessfully! (Check the log for more details)
Install MySQL Server.Log:: ERROR: SET PASSWORD: Exception: Can't connect to MySQL server on 'localhost' (10061):
No connection could be made because the target machine actively refused it 127.0.0.1:3306
SMS_Install_<Date_Time>.log
StartService: ERROR Cannot start service: Time out has expired and the operation has not been completed.
WiXCSCA: RestartService: StartService: ERROR: Cannot start MySQL57 service
WixCSCA.ConfigureMySqlServer: MysQL Service restart is failed
MySql: SetMySqlRootPassword: Exception: Can't connect to MySQL server on 'localhost' (10061):
No connection could be made because the target machine actively refused it 127.0.0.1:3306
CreateDB: CustomAction1: ERROR : EXCPTION: Unable to start MySQL service: Time out has expired and the operation has not been completed.
- 如果从 SnapCenter 访问 SnapCer UI:
SnapCenter repository is not accessible. Error: The Entity Framework provider type 'Devart.Data.MySql.Entity.MySqlEntityProviderServices, Devart.Data.MySql.Entity.EF6 , Version=8.5.658.0, Culture=neutral, PublicKeyToken=09af7300eec23701' registered in the application config file for the ADO.NET provider with invariant name 'Devart.Data.MySql' could not be loaded. Make sure that the assembly-qualified name is used and that the assembly is available to the running application. See http://go.microsoft.com/fwlink/?LinkId=260882 for more information.
- 如果从另一台计算机访问SnapCenter UI:
Runtime Error