8.4 中文镜像

MySQL 8.4 参考手册 · 中文镜像

正文为中文,英文原文默认隐藏。点击任意中文段落即可展开 / 收起对应英文原文。

打开官方英文原文 ↗

译文由机器翻译生成,仅供理解参考;有疑问请以官方英文原文为准。

MySQL 8.4 参考手册 / 3 升级 MySQL
中文点击中文段落可显示 / 隐藏英文原文本页译文覆盖 100%

第 3 章升级 MySQLChapter 3 Upgrading MySQL

本章介绍升级 MySQL 安装的步骤。This chapter describes the steps to upgrade a MySQL installation.

升级是一个常见的过程,因为您可以在同一 MySQL 版本系列中获取错误修复或在主要 MySQL 版本之间获取重要功能。您首先在一些测试系统上执行此过程,以确保一切顺利,然后在生产系统上执行。Upgrading is a common procedure, as you pick up bug fixes within the same MySQL release series or significant features between major MySQL releases. You perform this procedure first on some test systems to make sure everything works smoothly, and then on the production systems.

Note

在下面的讨论中,必须使用具有管理权限的 MySQL 帐户运行的 MySQL 命令包括命令行上的 -u root 来指定 MySQL root 用户。需要 root 密码的命令还包含 -p 选项。由于 -p 后面没有选项值,因此此类命令会提示输入密码。出现提示时输入密码,然后按 Enter 键。In the following discussion, MySQL commands that must be run using a MySQL account with administrative privileges include -u root on the command line to specify the MySQL root user. Commands that require a password for root also include a -p option. Because -p is followed by no option value, such commands prompt for the password. Type the password when prompted and press Enter.

可以使用 mysql 命令行客户端执行 SQL 语句(以 root 身份连接,以确保您拥有必要的权限)。SQL statements can be executed using the mysql command-line client (connect as root to ensure that you have the necessary privileges).