MySQL Forums
Forum List  »  Install & Repo

MySQL server for Windows installation failed with rollback
Posted by: Aaron Seet
Date: July 08, 2020 10:26AM

When I first tried out MySQL Server 8.0.17 last year on my Lenovo ThinkPad T480, all components installed properly and I thought nothing of it. Now I'm trying to install on another laptop ThinkPad L490 and all components can install except the server itself.

Last entries of the install log show


1: Action 15:34:38: WriteRegistryValues. Writing system registry values
1: Key: \SOFTWARE\MySQL AB\MySQL Server 8.0, Name: Location, Value: C:\Program Files\MySQL\MySQL Server 8.0
1: Key: \SOFTWARE\MySQL AB\MySQL Server 8.0, Name: Version, Value: 8.0.20
1: Key: \SOFTWARE\MySQL AB\MySQL Server 8.0, Name: DataLocation, Value: C:\ProgramData\MySQL\MySQL Server 8.0
1: Key: \SOFTWARE\MySQL AB\MySQL Server 8.0, Name: , Value:
1: Key: \Console\MySQL 8.0 Command Line Client - Unicode, Name: FaceName, Value: Lucida Console
1: Key: \Console\MySQL 8.0 Command Line Client - Unicode, Name: FontWeight, Value: #400
1: Key: \Console\MySQL 8.0 Command Line Client - Unicode, Name: , Value:
1: Key: \Software\MySQL AB\MySQL Server 8.0, Name: installed, Value: #1
1: Action 15:34:38: ExecSecureObjects.
1: Action 15:34:38: Rollback. Rolling back action:
1: ExecSecureObjects
1: Writing system registry values
1: Creating shortcuts
1: Copying new files
1: Creating folders
1: Updating component registration
1: 1: MySQL Server 8.0 2: {332134EE-2367-4612-B18D-10C5B821615E} 3: 3
1: The action 'Install' for product 'MySQL Server 8.0.20' failed.


The same if attempting to install server 5.7, or with web installer.

Went back to my ThinkPad T480 completely uninstalled 8.0.17 (although the Windows service wasn't removed) and installed 8.0.20 without error.



1: Action 23:28:47: WriteRegistryValues. Writing system registry values
1: Key: \SOFTWARE\MySQL AB\MySQL Server 8.0, Name: Location, Value: D:\Program Files\MySQL\MySQL Server 8.0
1: Key: \SOFTWARE\MySQL AB\MySQL Server 8.0, Name: Version, Value: 8.0.20
1: Key: \SOFTWARE\MySQL AB\MySQL Server 8.0, Name: DataLocation, Value: D:\ProgramData\MySQL\MySQL Server 8.0
1: Key: \SOFTWARE\MySQL AB\MySQL Server 8.0, Name: , Value:
1: Key: \Console\MySQL 8.0 Command Line Client - Unicode, Name: FaceName, Value: Lucida Console
1: Key: \Console\MySQL 8.0 Command Line Client - Unicode, Name: FontWeight, Value: #400
1: Key: \Console\MySQL 8.0 Command Line Client - Unicode, Name: , Value:
1: Key: \Software\MySQL AB\MySQL Server 8.0, Name: installed, Value: #1
1: Action 23:28:47: ExecSecureObjects.
1: Action 23:28:47: RegisterProduct. Registering product
1: {332134EE-2367-4612-B18D-10C5B821615E}
1: Action 23:28:47: PublishFeatures. Publishing Product Features
1: Feature: RegKeys
1: Feature: Client
1: Feature: MYSQLSERVER
1: Feature: DEVEL
1: Feature: DOCUMENTATION
1: Feature: Readme
1: Feature: ALWAYSINSTALL
1: Feature: Router
1: Feature: Server_Scripts
1: Feature: MISC
1: Feature: ProgramMenu
1: Feature: UserEditableDataFiles
1: Action 23:28:47: PublishProduct. Publishing product information
1: Action 23:28:47: RollbackCleanup. Removing backup files
1: 1: MySQL Server 8.0 2: {332134EE-2367-4612-B18D-10C5B821615E} 3: 1
1: The action 'Install' for product 'MySQL Server 8.0.20' completed successfully.


Reading around, this apparently has been an old problem since at least ver 5.6 days? The log entries don't quite explain exactly what went wrong. Any clues on the background processes that influence this?

Options: ReplyQuote


Subject
Written By
Posted
MySQL server for Windows installation failed with rollback
July 08, 2020 10:26AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.