前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >mysql 8不再需要手工升级检查表?

mysql 8不再需要手工升级检查表?

原创
作者头像
Tuesday
修改2019-08-06 14:33:09
2.9K0
修改2019-08-06 14:33:09
举报
文章被收录于专栏:Qampp知识库.Qampp知识库.

The mysql_upgrade client is now deprecated. The actions executed by the upgrade client are now done by the server.

To upgrade, please start the new MySQL binary with the older data directory. Repairing user tables is done automatically. Restart is not required after upgrade.

The upgrade process automatically starts on running a new MySQL binary with an older data directory. To avoid accidental upgrades, please use the --upgrade=NONE option with the MySQL binary. The option --upgrade=FORCE is also provided to run the server upgrade sequence on demand.

It may be possible that the server upgrade fails due to a number of reasons. In that case, the upgrade sequence will run again during the next MySQL server start. If the server upgrade fails repeatedly, the server can be started with the --upgrade=MINIMAL option to start the server without executing the upgrade sequence, thus allowing users to manually rectify the problem.

----------------------------------------------------------------

现在不推荐使用mysql_upgrade客户端。 升级客户端执行的操作现在由服务器完成。

要升级,请使用旧数据目录启动新的MySQL二进制文件。 修复用户表是自动完成的。 升级后不需要重新启动。

升级过程在使用旧数据目录运行新的MySQL二进制文件时自动启动。 为避免意外升级,请使用--upgrade = NONE选项和MySQL二进制文件。 还提供了选项--upgrade = FORCE以按需运行服务器升级序列。

由于多种原因,服务器升级可能会失败。 在这种情况下,升级序列将在下一个MySQL服务器启动期间再次运行。 如果服务器升级重复失败,则可以使用--upgrade = MINIMAL选项启动服务器以启动服务器而不执行升级序列,从而允许用户手动纠正问题。

原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。

如有侵权,请联系 cloudcommunity@tencent.com 删除。

原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。

如有侵权,请联系 cloudcommunity@tencent.com 删除。

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
相关产品与服务
云数据库 SQL Server
腾讯云数据库 SQL Server (TencentDB for SQL Server)是业界最常用的商用数据库之一,对基于 Windows 架构的应用程序具有完美的支持。TencentDB for SQL Server 拥有微软正版授权,可持续为用户提供最新的功能,避免未授权使用软件的风险。具有即开即用、稳定可靠、安全运行、弹性扩缩等特点。
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档