MySQL Installer provides a wizard-like tool to install and configure new MySQL products for Windows. MySQL安装程序提供了一个类似向导的工具,用于为Windows安装和配置新的MySQL产品。Unlike the initial setup, which runs only once, MySQL Installer invokes the wizard each time you download or install a new product. 与最初只运行一次的设置不同,MySQL安装程序在每次下载或安装新产品时都会调用向导。For first-time installations, the steps of the initial setup proceed directly into the steps of the installation. 对于首次安装,初始设置的步骤直接进入安装步骤。For assistance with product selection, see Locating Products to Install.有关产品选择的帮助,请参阅定位要安装的产品。
Full permissions are granted to the user executing MySQL Installer to all generated files, such as 对所有生成的文件(如my.ini
. my.ini
)执行MySQL安装程序的用户授予完全权限。This does not apply to files and directories for specific products, such as the MySQL server data directory in 这不适用于特定产品的文件和目录,例如%ProgramData%
that is owned by SYSTEM
.SYSTEM
拥有的%ProgramData%
中的MySQL服务器数据目录。
Products installed and configured on a host follow a general pattern that might require your input during the various steps. 在主机上安装和配置的产品遵循常规模式,在各个步骤中可能需要您的输入。If you attempt to install a product that is incompatible with the existing MySQL server version (or a version selected for upgrade), you are alerted about the possible mismatch.如果您试图安装与现有MySQL服务器版本(或选择升级的版本)不兼容的产品,系统会提醒您可能不匹配。
MySQL Installer provides the following sequence of actions that apply to different workflows:MySQL安装程序提供以下适用于不同工作流的操作序列:
Select Products.选择产品。 If you selected the 如果您在初始设置期间选择了Custom
setup type during the initial setup or clicked Add from the MySQL Installer dashboard, MySQL Installer includes this action in the sidebar. Custom
设置类型,或从MySQL安装程序面板中单击“添加”,则MySQL安装程序会在侧边栏中包含此操作。From this page, you can apply a filter to modify the Available Products list and then select one or more products to move (using arrow keys) to the Products To Be Installed list.在此页面中,您可以应用筛选器来修改“可用产品”列表,然后选择一个或多个产品(使用箭头键)移动到“要安装的产品”列表中。
Select the check box on this page to activate the Select Features action where you can customize the products features after the product is downloaded.选中此页面上的复选框可激活“选择功能”操作,在下载产品后,您可以在该操作中自定义产品功能。
Download.下载。 If you installed the full (not web) MySQL Installer package, all 如果您安装了完整的(非web)MySQL安装程序包,则在初始安装过程中,所有.msi
files were loaded to the Product Cache
folder during the initial setup and are not downloaded again. .msi
文件都已加载到“产品缓存”文件夹中,不会再次下载。Otherwise, click 否则,请单击“执行”开始下载。 to begin the download. The status of each product changes from 每个产品的状态从“准备下载”、“正在下载”,再到“已下载”。Ready to Download
, to Downloading
, and then to Downloaded
.
Select Features To Install (disabled by default).选择要安装的功能(默认情况下已禁用)。 After MySQL Installer downloads a product's MySQL安装程序下载产品的.msi
file, you can customize the features if you enabled the optional check box previously during the Select Products action..msi
文件后,如果之前在“选择产品”操作中启用了可选复选框,则可以自定义功能。
To customize product features after the installation, click Modify in the MySQL Installer dashboard.要在安装后自定义产品功能,请单击MySQL安装程序面板中的“修改”。
Installation.安装。 The status of each product in the list changes from 列表中每个产品的状态从“准备安装”变为“正在安装”,最后变为“完成”。Ready to Install
, to Installing
, and lastly to Complete
. During the process, click Show Details to view the installation actions.在此过程中,单击“显示详细信息”以查看安装操作。
If you cancel the installation at this point, the products are installed, but the server (if installed) is not yet configured. 如果此时取消安装,则产品已安装,但服务器(如果已安装)尚未配置。To restart the server configuration, open MySQL Installer from the Start menu and click Reconfigure next to the appropriate server in the dashboard.要重新启动服务器配置,请从“开始”菜单打开MySQL安装程序,然后单击面板中相应服务器旁边的“重新配置”。
Product configuration.产品配置。 This step applies to MySQL Server, MySQL Router, and samples only. 此步骤仅适用于MySQL Server、MySQL Router和示例。The status for each item in the list should indicate 列表中每个项目的状态应指示“准备好配置”。Ready to Configure
. Click 单击“下一步”启动列表中所有项目的配置向导。 to start the configuration wizard for all items in the list. The configuration options presented during this step are specific to the version of database or router that you selected to install.此步骤中提供的配置选项特定于您选择安装的数据库或路由器的版本。
Click 单击“执行”开始应用配置选项,或单击“上一步”(重复)返回到每个配置页面。 to begin applying the configuration options or click (repeatedly) to return to each configuration page.
Installation complete.安装完成。 This step finalizes the installation for products that do not require configuration. It enables you to copy the log to a clipboard and to start certain applications, such as MySQL Workbench and MySQL Shell. 此步骤完成不需要配置的产品的安装。它使您能够将日志复制到剪贴板并启动某些应用程序,如MySQL Workbench和MySQL Shell。Click MySQL Installer dashboard.单击“完成”打开 to open the MySQL安装程序面板。