MySql取消安装并重新安装,但不起作用

时间:2019-11-24 19:40:09

标签: mysql

在Windows 10上,我安装了旧的mySql。我按照this教程进行了卸载,并从控制面板->软件安装中,卸载了所有以mysql开头的项目(仅,在此阶段,我看到My Sql Connector 8.0.16在“卸载”之后)按钮,确认并等待消息,再次出现在列表中。

然后,我重新启动计算机,并下载了mysql-installer-community-8.0.18.0并执行了。首先,我看到了“欢迎回来”消息(但是我已经全部卸载了)。并且,在可用项目的列表中,我看到窗口“选择要升级的产品”,然后只有连接器/ NET,没有其他任何东西。但是我不想要它,我想要整个mysql重新安装。

当然,mySql尚未完全卸载。我该如何解决这个问题?您是否有一个功能更强大的过程可以真正卸载整个mysql,或者您可以向我建议我已经遵循的上一教程中未介绍的其他步骤?

编辑:两次删除reg键后,重新启动计算机并重新安装,终于可以了!仅,我通过“ Connector / .NET”组件看到以下错误。我无法卸载或升级它。

    1: Action 13:20:32: INSTALL. 
1: 1: MySQL Connector Net 8.0.18 2: {6A8D895A-E2D0-4701-BE5D-478BEAC048D3} 
1: Action 13:20:32: FindRelatedProducts. Searching for related applications
1: Action 13:20:32: AppSearch. Searching for installed applications
1: Action 13:20:32: LaunchConditions. Evaluating launch conditions
1: Action 13:20:32: ValidateProductID. 
1: Action 13:20:32: CostInitialize. Computing space requirements
1: Action 13:20:32: FileCost. Computing space requirements
1: Action 13:20:32: CostFinalize. Computing space requirements
1: Action 13:20:32: InstallValidate. Validating install
1: Action 13:20:32: Setv45InstallUtil. 
1: Action 13:20:32: InstallInitialize. 
1: Action 13:20:32: RemoveExistingProducts. Removing applications
1: Application: {0160C4A1-392C-4AFA-B8DB-2471FDA71425}, Command line: UPGRADINGPRODUCTCODE={6A8D895A-E2D0-4701-BE5D-478BEAC048D3} CLIENTPROCESSID=7112 CLIENTUILEVEL=3 MSICLIENTUSESEXTERNALUI=1 REMOVE=ALL
1: Action 13:20:32: INSTALL. 
1: 1: MySQL Connector Net 8.0.16 2: {0160C4A1-392C-4AFA-B8DB-2471FDA71425} 
1: Action 13:20:32: FindRelatedProducts. Searching for related applications
1: Action 13:20:32: AppSearch. Searching for installed applications
1: Property: OLDVERSION, Signature: Ver5081
1: Property: OLDVERSION, Signature: Ver507
1: Property: OLDVERSION, Signature: Ver506
1: Property: OLDVERSION, Signature: Ver505
1: Property: OLDVERSION, Signature: Ver504
1: Property: OLDVERSION, Signature: Ver503
1: Property: OLDVERSION, Signature: Ver502
1: Property: OLDVERSION, Signature: Ver501
1: Property: OLDVERSION, Signature: Ver500
1: Property: PREUPGRADEVERSION, Signature: Pre638
1: Property: PERUSERINSTALL, Signature: Reg638
1: Property: PERUSERINSTALL, Signature: Reg644
1: Property: HLM_LOCATION, Signature: HLMRegSearch
1: Property: NETFRAMEWORK45, Signature: NetFramework45
1: Action 13:20:32: LaunchConditions. Evaluating launch conditions
1: Action 13:20:32: ValidateProductID. 
1: Action 13:20:32: CostInitialize. Computing space requirements
1: Action 13:20:32: FileCost. Computing space requirements
1: Action 13:20:32: CostFinalize. Computing space requirements
1: Action 13:20:32: InstallValidate. Validating install
1: Action 13:20:32: Setv45InstallUtil. 
1: Action 13:20:32: InstallInitialize. 
1: Action 13:20:32: GenerateScript. Generating script operations for action:
1: InstallInitialize
1: Action 13:20:32: RemoveExistingProducts. Removing applications
1: Action 13:20:32: ProcessComponents. Updating component registration
1: 
1: Action 13:20:32: MsiUnpublishAssemblies. Unpublishing assembly information
1: Application Context:Unpublishing assembly information, Assembly Name:
1: Action 13:20:32: UnpublishFeatures. Unpublishing Product Features
1: Feature: Unpublishing Product Features
1: Action 13:20:32: UninstallPerfCounterData. 
1: Action 13:20:32: RollbackUnregisterPerfCounterData. 
1: 
1: Action 13:20:32: UnregisterPerfCounterData. 
1: 
1: Action 13:20:32: RemoveRegistryValues. Removing system registry values
1: Key: Removing system registry values, Name: 
1: Action 13:20:33: RemoveShortcuts. Removing shortcuts
1: Shortcut: Removing shortcuts
1: Action 13:20:33: ManagedDataUnInstallSetup. 
1: Action 13:20:33: ManagedDataUnInstall. Unregistering data provider from machine.config
1: Action 13:20:33: ManagedWebUnInstallSetup. 
1: 
1: Action 13:20:33: RemoveFiles. Removing files
1: File: Removing files, Directory: 
1: Action 13:20:33: RemoveFolders. Removing folders
1: Folder: Removing folders
1: Action 13:20:33: CreateFolders. Creating folders
1: Action 13:20:33: InstallFiles. Copying new files
1: Action 13:20:33: CreateShortcuts. Creating shortcuts
1: Action 13:20:33: WriteRegistryValues. Writing system registry values
1: Action 13:20:33: InstallPerfCounterData. 
1: Action 13:20:33: RegisterUser. Registering user
1: Action 13:20:33: RegisterProduct. Registering product
1: Action 13:20:33: MsiPublishAssemblies. Publishing assembly information
1: Action 13:20:33: PublishFeatures. Publishing Product Features
1: Action 13:20:33: PublishProduct. Publishing product information
1: 
1: Action 13:20:33: InstallFinalize. 
1: Action 13:20:33: InstallInitialize. 
1: Action 13:20:33: ProcessComponents. Updating component registration
1: Action 13:20:33: MsiUnpublishAssemblies. Unpublishing assembly information
1: Application Context:Global, Assembly Name:MySql.Data,version="8.0.16.0",culture="neutral",publicKeyToken="C5687FC88969C44D",processorArchitecture="MSIL"
1: Application Context:Global, Assembly Name:Google.Protobuf,version="3.6.1.0",culture="neutral",publicKeyToken="A7D26565BAC4D604",processorArchitecture="MSIL"
1: Application Context:Global, Assembly Name:BouncyCastle.Crypto,version="1.8.3.0",culture="neutral",publicKeyToken="0E99375E54769942"
1: Application Context:Global, Assembly Name:MySql.Web,version="8.0.16.0",culture="neutral",publicKeyToken="C5687FC88969C44D",processorArchitecture="MSIL"
1: Action 13:20:33: UnpublishFeatures. Unpublishing Product Features
1: Feature: EntityFramework
1: Feature: Core.Feature
1: Feature: WebProviders
1: Feature: Plugins
1: Action 13:20:33: RollbackUnregisterPerfCounterData. 
1: Action 13:20:33: UnregisterPerfCounterData. 
1: Action 13:20:33: RemoveRegistryValues. Removing system registry values
1: Key: \Software\MySQL AB, Name: Default
1: Key: \Software\MySQL AB\MySQL Connector/Net, Name: Version
1: Key: \Software\MySQL AB\MySQL Connector/Net, Name: Location
1: Key: \Software\MySQL AB\MySQL Connector/Net, Name: 
1: Key: \SOFTWARE\Microsoft\.NETFramework\v4.5.50709\AssemblyFoldersEx\MySQL Connector Net 8.0.16 v4.5.1, Name: 
1: Key: \SOFTWARE\Microsoft\.NETFramework\v4.5.50709\AssemblyFoldersEx\MySQL Connector Net 8.0.16 v4.5.1, Name: 
1: Action 13:20:33: RemoveShortcuts. Removing shortcuts
1: Shortcut: upfn1-0t|Documentation
1: Shortcut: vaitcdd6|ChangeLog
1: Shortcut: _rq6aex9|Release Notes
1: Action 13:20:38: ManagedDataUnInstall. Unregistering data provider from machine.config
1: 1: MySQL Connector Net 8.0.16 2: {0160C4A1-392C-4AFA-B8DB-2471FDA71425} 3: 3 
1: Action 13:20:38: Rollback. Rolling back action:
1: Unregistering data provider from machine.config
1: Removing shortcuts
1: Removing system registry values
1: UnregisterPerfCounterData
1: RollbackUnregisterPerfCounterData
1: Unpublishing Product Features
1: Unpublishing assembly information
1: Updating component registration
1: InstallInitialize
1: 1: MySQL Connector Net 8.0.18 2: {6A8D895A-E2D0-4701-BE5D-478BEAC048D3} 3: 3 
1: The action 'Upgrade' for product 'Connector/NET 8.0.18' failed.

编辑:我也在官方的mysql论坛中问过,但是几天后,我的问题尚未得到论坛工作人员的认可。我不知道原因。

1 个答案:

答案 0 :(得分:1)

1)从任务管理器中找到执行的服务或exe。注意:(如果找不到任何东西,则可以成功完成Mysql的卸载)

2)打开文件位置并记住。

3)然后从任务管理器中停止mysql服务或exe  并从文件夹中删除文件夹中存在的文件(我之前曾告诉我记得这样做过)。