To install MySQL manually, do the following:要手动安装MySQL,请执行以下操作:
If you are upgrading from a previous version please refer to Section 2.11.10, “Upgrading MySQL on Windows”, before beginning the upgrade process.如果您是从以前的版本升级,请参阅第2.11.10节,“在Windows上升级MySQL”,然后再开始升级过程。
Make sure that you are logged in as a user with administrator privileges.请确保您以具有管理员权限的用户身份登录。
Choose an installation location. Traditionally, the MySQL server is installed in 选择一个安装位置。传统上,MySQL服务器安装在C:\mysql
. C:\mysql
中。If you do not install MySQL at 如果您没有在C:\mysql
, you must specify the path to the install directory during startup or in an option file. C:\mysql
上安装MySQL,则必须在启动期间或在选项文件中指定安装目录的路径。See Section 2.3.4.2, “Creating an Option File”.请参阅第2.3.4.2节,“创建选项文件”。
The MySQL Installer installs MySQL under MySQL安装程序在C:\Program Files\MySQL
.C:\Program Files\MySQL
下安装MySQL。
Extract the install archive to the chosen installation location using your preferred file-compression tool. 使用首选文件压缩工具将安装档案提取到选定的安装位置。Some tools may extract the archive to a folder within your chosen installation location. If this occurs, you can move the contents of the subfolder into the chosen installation location.某些工具可能会将存档提取到所选安装位置内的文件夹中。如果发生这种情况,您可以将子文件夹的内容移动到所选的安装位置。