For MySQL 8.0, there are multiple installation package formats to choose from when installing MySQL on Windows. 对于MySQL 8.0,在Windows上安装MySQL时有多种安装包格式可供选择。The package formats described in this section are:本节中描述的软件包格式为:
Program Database (PDB) files (with file name extension 程序数据库(PDB)文件(文件扩展名为pdb
) provide information for debugging your MySQL installation in the event of a problem. pdb
)提供了在出现问题时调试MySQL安装的信息。These files are included in ZIP Archive distributions (but not MSI distributions) of MySQL.这些文件包含在MySQL的ZIP归档发行版(但不是MSI发行版)中。
This package has a file name similar to 该软件包的文件名类似于mysql-installer-community-8.0.25.0.msi
or mysql-installer-commercial-8.0.25.0.msi
, and utilizes MSIs to install MySQL server and other products automatically. mysql-installer-community-8.0.25.0.msi
或mysql-ininstaller-commerceal-8.0.25.0.msi
,并使用MSIs自动安装mysql server和其他产品。MySQL Installer downloads and applies updates to itself, and to each of the installed products. It also configures the installed MySQL server (including a sandbox InnoDB cluster test setup) and MySQL Router. MySQL安装程序下载更新并将其应用于自身以及每个已安装的产品。它还配置了已安装的MySQL服务器(包括沙箱InnoDB
集群测试设置)和MySQL路由器。MySQL Installer is recommended for most users.建议大多数用户使用MySQL安装程序。
MySQL Installer can install and manage (add, modify, upgrade, and remove) many other MySQL products, including:MySQL安装程序可以安装和管理(添加、修改、升级和删除)许多其他MySQL产品,包括:
Applications – MySQL Workbench, MySQL for Visual Studio, MySQL Shell, and MySQL Router (see https://dev.mysql.com/doc/mysql-compat-matrix/en/)应用程序 – MySQL Workbench、MySQL for Visual Studio、MySQL Shell和MySQL Router(请参阅https://dev.mysql.com/doc/mysql-compat-matrix/en/)
Connectors连接器 – MySQL Connector/C++, MySQL Connector/NET, Connector/ODBC, MySQL Connector/Python, MySQL Connector/J, MySQL Connector/Node.js
文档MySQL手册(PDF格式),示例和示例Documentation文档 – MySQL Manual (PDF format), samples and examples
MySQL Installer operates on all MySQL supported versions of Windows (see https://www.mysql.com/support/supportedplatforms/database.html).MySQL安装程序在所有支持MySQL的Windows版本上运行(请参阅https://www.mysql.com/support/supportedplatforms/database.html)。
Because MySQL Installer is not a native component of Microsoft Windows and depends on .NET, it does not work with minimal installation options like the Server Core version of Windows Server.由于MySQL安装程序不是Microsoft Windows的本机组件,并且依赖于.NET,因此它不适用于Windows Server的服务器核心版本等最小安装选项。
For instructions on how to install MySQL using MySQL Installer, see Section 2.3.3, “MySQL Installer for Windows”.有关如何使用MySQL安装程序安装MySQL的说明,请参阅第2.3.3节,“Windows MySQL安装程序”。
These packages contain the files found in the complete MySQL Server installation package, with the exception of the GUI. 这些包包含完整的MySQL服务器安装包中的文件,GUI除外。This format does not include an automated installer, and must be manually installed and configured.此格式不包括自动安装程序,必须手动安装和配置。
The noinstall
ZIP archives are split into two separate compressed files. noinstall
ZIP归档文件被拆分为两个独立的压缩文件。The main package is named 主包名为mysql-
. VERSION
-winx64.zipmysql-VERSION-winx64.zip
。This contains the components needed to use MySQL on your system. 其中包含在系统上使用MySQL所需的组件。The optional MySQL test suite, MySQL benchmark suite, and debugging binaries/information components (including PDB files) are in a separate compressed file named 可选的MySQL测试套件、MySQL基准套件和调试二进制文件/信息组件(包括PDB文件)位于一个名为mysql-
.VERSION
-winx64-debug-test.zipmysql-VERSION-winx64-debug-test.zip
的单独压缩文件中。
If you choose to install a 如果您选择安装noinstall
ZIP archive, see Section 2.3.4, “Installing MySQL on Microsoft Windows Using a noinstall
ZIP Archive”.noinstall
ZIP归档文件,请参阅第2.3.4节,“使用noinstall ZIP归档文件在Microsoft Windows上安装MySQL”。
For information on using the MySQL Docker images provided by Oracle on Windows platform, see Section 2.5.6.3, “Deploying MySQL on Windows and Other Non-Linux Platforms with Docker”.有关在Windows平台上使用Oracle提供的MySQL Docker映像的信息,请参阅第2.5.6.3节,“使用Docker在Windows和其他非Linux平台上部署MySQL”。
The MySQL Docker images provided by Oracle are built specifically for Linux platforms. Oracle提供的MySQL Docker映像是专门为Linux平台构建的。Other platforms are not supported, and users running the MySQL Docker images from Oracle on them are doing so at their own risk.其他平台不受支持,在其上运行Oracle MySQL Docker映像的用户将自行承担风险。