Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Situation Awareness
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive

Upgrading a Minor Version

Updated on 2025-01-02 GMT+08:00

Scenarios

RDS for MySQL supports minor version upgrades to improve performance, add new functions, and fix bugs.

By default, a newly created DB instance uses the latest minor version. When a new minor version is released on Huawei Cloud, the Upgrade link is displayed in the DB Engine Version column on the Instances page. You can click Upgrade to go to the minor version upgrade page.

Figure 1 Version upgrade

Upgrade Methods

A minor version can be upgraded in either of the following ways:

  • Upon submission: The system upgrades the minor version upon your manual submission of the upgrade request.
  • In maintenance window: The system upgrades the minor version during the maintenance window you specified. For details about how to change the maintenance window, see Changing the Maintenance Window.

If the kernel version of your instance has potential risks or major defects, has expired, or has been brought offline, the system will notify you by SMS message or email and deliver an upgrade task during the maintenance window.

Precautions

  • When any new minor version is released for addressing issues and vulnerabilities from the open source community, upgrade the minor version of your instance immediately or during the maintenance window.
  • The upgrade will cause the DB instance to reboot and briefly interrupt services. To limit the impact of the upgrade, perform the upgrade during off-peak hours, or ensure that your applications support automatic reconnection.
  • A minor version upgrade involves switchovers between primary and standby instances, which cause a brief service interruption. Besides, there can be two waits of up to 10s for a single SQL statement to update or write data because the default replication between primary and standby instances is semi-synchronous. To avoid the waits, change the replication mode to asynchronous before the upgrade.
  • If primary and standby DB instances are deployed in the same AZ, a minor version upgrade will trigger a switchover. If they are deployed in different AZs, a minor version upgrade will trigger two switchovers.
  • When you upgrade a minor version of a primary DB instance, minor versions of read replicas (if any) will also be upgraded automatically (they cannot be upgraded separately). Perform the upgrade during off-peak hours because the DB instance will be rebooted after the upgrade is complete.
  • If your RDS instance is involved in a DRS task, upgrading the minor version may cause the DRS task to fail.
    You are advised to check the retention period of RDS instance binlogs before upgrading the minor version.
    • If the binlogs are within the retention period, the DRS task will automatically restart after the minor version is upgraded.
    • If the binlogs are beyond the retention period, you need to reconfigure or recreate a DRS task.
  • A minor version upgrade cannot be rolled back after the upgrade is complete. If the upgrade fails, the DB instance will be automatically rolled back to the source version.
  • You are advised to perform a full backup before upgrading a minor version.
  • A minor version can be upgraded in minutes.
  • DDL operations on events, such as CREATE EVENT, DROP EVENT, and ALTER EVENT, are not allowed during a minor version upgrade.

    During a minor version upgrade, if you are prompted that there are DDL operations being executed on the primary instance, do as follows:

    • Change the status of the event whose STATUS is SLAVESIDE_DISABLED to ENABLED or DISABLED, and then perform the upgrade.
    • Delete the events whose STATUS is SLAVESIDE_DISABLED and then perform the upgrade.

Constraints

  • If the replication delay between primary and standby DB instances is longer than 300 seconds, the minor version cannot be upgraded.
  • For primary/standby DB instances, the standby DB instance is upgraded first and then the primary DB instance is upgraded afterwards.
  • Minor versions cannot be upgraded for DB instances with abnormal nodes.
  • RDS for MySQL DB instances with the event scheduler function enabled do not support minor version upgrades. If you want to perform a minor version upgrade, disable event scheduler first. For operation details, see Enabling or Disabling Event Scheduler.
  • TLSv1.1 is not supported for RDS for MySQL 8.0.28 or later versions. To modify the TLS version, change the value of the parameter loose_tls_version.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and select a region.
  3. Click in the upper left corner of the page and choose Databases > Relational Database Service.
  4. On the Instances page, click the instance name to go to the Overview page.
  5. Under DB Engine Version, click Upgrade Minor Version.

    Figure 2 Upgrading a minor version

  6. In the displayed dialog box, select a scheduled time and click OK.

    • Upon submission: The system upgrades the minor version immediately after you have submitted your upgrade request.
    • In maintenance window: The system will upgrade the minor version during the maintenance window that you have configured.
    Figure 3 Selecting a scheduled time

Follow-up Operations

Return to the instance list. In the navigation pane on the left, choose Task Center and check the progress of the upgrade task.
  • If you have selected Upon submission for Scheduled Time:

    On the Instant Tasks page, search for "Upgrading a MySQL DB instance engine version" and check the execution progress. Instant tasks cannot be canceled.

  • If you have selected In maintenance window for Scheduled Time:

    On the Scheduled Tasks page, search for the instance ID and check the execution status of the upgrade task.

    If the task is in the To be executed state, you can click Cancel to cancel the task.

For details, see Viewing a Task.

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback