gpt4 book ai didi

mysql - 为什么 MySQL 服务器安装失败

转载 作者:行者123 更新时间:2023-11-29 09:29:20 25 4
gpt4 key购买 nike

我正在尝试在我的Windows笔记本电脑上安装MySQL 5.7.2。这台笔记本电脑以前在公司使用过,我的老板不惜一切代价对其进行了“恢复出厂设置”。我得到了 MySQL 社区安装程序,其他一切都安装得很好,但实际的服务器没有安装。我安装了 C++ 可再发行组件。

进度数字攀升至 88%,然后回落至 50%,然后它告诉我安装失败,我得到以下输出。我在输出中没有看到任何指示错误的内容。希望以前有人遇到过这个问题。我切掉了"file"部分的很大一部分以适应字符限制。

1: 1: MySQL Server 5.7 2: {FB709D10-253F-4362-A1DE-39A896CE5549} 
1: Action 9:31:58: FindRelatedProducts. Searching for related applications
1: Action 9:31:58: AppSearch. Searching for installed applications
1: Action 9:31:58: LaunchConditions. Evaluating launch conditions
1: Action 9:31:58: ValidateProductID.
1: Action 9:31:58: CostInitialize. Computing space requirements
1: Action 9:31:58: FileCost. Computing space requirements
1: Action 9:31:58: CostFinalize. Computing space requirements
1: Action 9:31:58: MigrateFeatureStates. Migrating feature states from related applications
1: Action 9:31:58: InstallValidate. Validating install
1: Action 9:31:58: SaveTargetDir.
1: Action 9:31:58: InstallInitialize.
1: Action 9:31:58: RemoveExistingProducts. Removing applications
1: Action 9:31:58: ProcessComponents. Updating component registration
1: Action 9:31:59: GenerateScript. Generating script operations for action:
1: Updating component registration
1: Action 9:32:00: UnpublishFeatures. Unpublishing Product Features
1: Action 9:32:00: SchedSecureObjectsRollback.
1: Action 9:32:00: RemoveRegistryValues. Removing system registry values
1: Action 9:32:00: RemoveShortcuts. Removing shortcuts
1: Action 9:32:00: RemoveFiles. Removing files
1: Action 9:32:00: RemoveFolders. Removing folders
1: Action 9:32:00: CreateFolders. Creating folders
1: Folder: Creating folders
1: Action 9:32:00: InstallFiles. Copying new files
1: File: Copying new files, Directory: , Size:
1: Action 9:32:01: CreateShortcuts. Creating shortcuts
1: Shortcut: Creating shortcuts
1: Action 9:32:01: WriteRegistryValues. Writing system registry values
1: Key: Writing system registry values, Name: , Value:
1: Action 9:32:01: InstallServices. Installing new services
1: Action 9:32:01: SchedSecureObjects.
1: Action 9:32:01: ExecSecureObjects.
1:
1: Action 9:32:01: RegisterUser. Registering user
1: Action 9:32:01: RegisterProduct. Registering product
1: Registering product
1: Action 9:32:01: PublishFeatures. Publishing Product Features
1: Feature: Publishing Product Features
1: Action 9:32:01: PublishProduct. Publishing product information
1: Action 9:32:01: InstallFinalize.
1: Action 9:32:01: ProcessComponents. Updating component registration
1: Action 9:32:01: CreateFolders. Creating folders
1: Folder: C:\ProgramData\MySQL\MySQL Server 5.7\
1: Folder: C:\ProgramData\MySQL\MySQL Server 5.7\data\
1: Folder: C:\ProgramData\MySQL\MySQL Server 5.7\data\mysql\
1: Folder: C:\ProgramData\MySQL\MySQL Server 5.7\data\performance_schema\
1: Folder: C:\ProgramData\MySQL\MySQL Server 5.7\data\test\
1: Action 9:32:01: InstallFiles. Copying new files
1: File: innochecksum.exe, Directory: C:\Program Files\MySQL\MySQL Server 5.7\bin\, Size: 3988920
1: File: libmecab.dll, Directory: C:\Program Files\MySQL\MySQL Server 5.7\bin\, Size: 1839616
1: File: lz4_decompress.exe, Directory: C:\Program Files\MySQL\MySQL Server 5.7\bin\, Size: 81336
1: File: my_print_defaults.exe, Directory: C:\Program Files\MySQL\MySQL Server 5.7\bin\, Size: 3553208
......
......
......
1: File: errmsg.sys, Directory: C:\Program Files\MySQL\MySQL Server 5.7\share\polish\, Size: 79429
1: File: errmsg.sys, Directory: C:\Program Files\MySQL\MySQL Server 5.7\share\portuguese\, Size: 81673
1: File: errmsg.sys, Directory: C:\Program Files\MySQL\MySQL Server 5.7\share\romanian\, Size: 80423
1: File: errmsg.sys, Directory: C:\Program Files\MySQL\MySQL Server 5.7\share\russian\, Size: 94048
1: File: errmsg.sys, Directory: C:\Program Files\MySQL\MySQL Server 5.7\share\serbian\, Size: 81092
1: File: errmsg.sys, Directory: C:\Program Files\MySQL\MySQL Server 5.7\share\slovak\, Size: 79237
1: File: errmsg.sys, Directory: C:\Program Files\MySQL\MySQL Server 5.7\share\spanish\, Size: 80365
1: File: errmsg.sys, Directory: C:\Program Files\MySQL\MySQL Server 5.7\share\swedish\, Size: 79564
1: File: errmsg.sys, Directory: C:\Program Files\MySQL\MySQL Server 5.7\share\ukrainian\, Size: 88623
1: Action 9:32:06: CreateShortcuts. Creating shortcuts
1: Shortcut: icon.ico
1: Shortcut: Icon.MysqlCmdShell
1: Shortcut: rhj5cnaj|MySQL 5.7 Command Line Client
1: Shortcut: b7npydg0|MySQL 5.7 Command Line Client - Unicode
1: Action 9:32:06: WriteRegistryValues. Writing system registry values
1: Key: \SOFTWARE\MySQL AB\MySQL Server 5.7, Name: Location, Value: C:\Program Files\MySQL\MySQL Server 5.7\
1: Key: \SOFTWARE\MySQL AB\MySQL Server 5.7, Name: Version, Value: 5.7.27
1: Key: \SOFTWARE\MySQL AB\MySQL Server 5.7, Name: DataLocation, Value: C:\ProgramData\MySQL\MySQL Server 5.7\
1: Key: \SOFTWARE\MySQL AB\MySQL Server 5.7, Name: , Value:
1: Key: \Console\MySQL 5.7 Command Line Client - Unicode, Name: FaceName, Value: Lucida Console
1: Key: \Console\MySQL 5.7 Command Line Client - Unicode, Name: FontWeight, Value: #400
1: Key: \Console\MySQL 5.7 Command Line Client - Unicode, Name: , Value:
1: Key: \Software\MySQL AB\MySQL Server 5.7, Name: installed, Value: #1
1: Action 9:32:06: ExecSecureObjects.
1: Action 9:32:06: 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 5.7 2: {FB709D10-253F-4362-A1DE-39A896CE5549} 3: 3
1: The action 'Install' for product 'MySQL Server 5.7.27' failed.```

最佳答案

  1. 通过网络安装程序下载并安装服务器,然后让它失败。
  2. 导航至 C:\ProgramData\MySQL\MySQL Installer for Windows\Product Cache\mysql-5.7.21-winx64.exe 。如果程序数据没有显示在您的系统中,请取消隐藏文件夹。如果 exe 不可用,那么您可以在安装 mysql 服务器时从安装程序日志中下载位置,它显示在底部。双击此 exe 并安装。选择自定义安装
  3. 从安装列表中排除“服务器数据文件”。完成后重新运行您的 mysql 社区安装程序。
  4. 现在您将看到 Mysql 服务器已安装。在“快速操作”下,点击“重新配置”。
  5. 然后设置你的 mysql,应该就完成了

关于mysql - 为什么 MySQL 服务器安装失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59037319/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com