Upgrade MySQL 5.7 to 8.x without a long outage for a logistics platform
Typical situation: a logistics platform on MySQL 5.7 with a 1 TB database, tracking events written all day and no maintenance window longer than a few minutes. The supported path is two hops: MySQL's manual says a bugfix or LTS series cannot be skipped, so 5.7 goes to 8.0 first, then 8.0 to 8.4. Replication from an older source to a newer replica is supported where the upgrade path is supported, which makes a replica-first upgrade possible: upgrade a replica to 8.0, let it catch up, then switch over. The catch is the rollback. Replication from a newer source to an older replica is generally not supported, so once writes land on 8.0 you cannot fail back to 5.7 by replication. OSStend plans that before the window. See managed MySQL for the run model.
45 minutes with an engineer: we review your workload and sketch the design.
- ✓Move
- ✓MySQL
- ✓Your cloud account
- Path
- 5.7 to 8.0, then 8.0 to 8.4
- Method
- Replica first, then switchover
- Check
- MySQL Shell upgrade checker
- Rollback
- Planned; newer to older replication is unsupported
- Typical timeline
- 6 to 10 weeks including both hops
Typical situation
Trigger. The platform must leave 5.7 but cannot stop tracking writes for more than minutes.
Versions. MySQL 5.7 to 8.0, then 8.0 to 8.4 LTS.
- Minutes of write pause at most
- Old drivers may not support the new auth plugin
- Collation changes must not break joins
A typical situation, not a named customer.
Upgrade MySQL 5.7 to 8.x in two hops, 5.7 to 8.0 and then 8.0 to 8.4. Run MySQL Shell's upgrade checker, upgrade a replica first, let it catch up and switch over. Replication from newer to older is generally unsupported, so the rollback after cutover must be designed in advance.
Customers
Partners
- PostgreSQL
- MySQL
- MongoDB
- Redis
Valkey
- OpenSearch
- Kafka
- RabbitMQ
- AWS
- Google Cloud
- Azure
- Kubernetes
- OpenShift
- Prometheus
- Grafana
- Datadog
- Dynatrace
- Splunk
What OSStend runs and what you keep
OSStend runs the checks, the replica upgrade and the switchover. You test the application and own the rollback decision.
| Area | OSStend | You |
|---|---|---|
| Cluster design | An engineer writes the design: size, replication model, version path, backup tool and settings. You sign it off first. | Approve the design and name the change windows. |
| Build and move | Builds the target and owns the move, with both sides live until you switch. | Point the application at the new endpoint on the agreed day. |
| Backups and recovery | Full backups plus binary logs, with point-in-time recovery and scheduled restore tests. | Say how far back you must be able to recover. |
| Failover | Detects a dead source and promotes a replica; repoints the others. | Use connection retry in the application. |
| Upgrades and patching | Minor releases and major upgrades on your change calendar. | Set the freeze dates. |
| Monitoring and on call | Replication lag, connections, InnoDB state, disk and binary log retention, with engineers on call 24/7. | Receive the alerts you want forwarded. |
| Application and schema | Advice on slow queries and indexes found during the review. | Your schema, your queries, your releases. |
| Contract | One contract, one on-call team, price quoted per design. | Test drivers, queries and reports against 8.0 and 8.4. |
Where it can run
The upgrade runs in any placement; this situation assumes your cloud account. MySQL Community Server is GPL-2.0, unmodified in every case.
| Option | When it fits | Licence and source |
|---|---|---|
| Your cloud account | The estate already runs in your account. | MySQL Community Server, GPL-2.0 (GitHub, checked 23 Nov 2026). |
| Our cloud | You want the new version hosted by us. | Same, GPL-2.0 (GitHub, checked 23 Nov 2026). |
| Your data center | The estate is on premises. | Same, GPL-2.0 (GitHub, checked 23 Nov 2026). |
How the move works
Each hop repeats the same pattern. The first hop is the risky one, because 5.7 to 8.0 changes defaults that the second hop does not.
Run the checker (1 to 3 days)
MySQL Shell's upgrade checker lists removed features, reserved words and charset issues on a copy.
Fix and rehearse (1 to 3 weeks)
Queries, drivers and collations are fixed on a restored copy and the whole path is timed.
Upgrade a replica to 8.0 (3 to 5 days)
A replica is upgraded in place, replicates from the 5.7 source and is checked under real reads.
Switch over (one change window)
Writes pause, the 8.0 replica is promoted, and the application reconnects.
Second hop to 8.4 (2 to 4 weeks)
The same pattern repeats from 8.0 to 8.4 LTS.
Run (from cutover)
Engineers run it 24/7.
Time ranges are typical for databases of this size and are fixed in the design you sign off. The method, the order and the checks do not change with the range.
mysqlsh --js -e "util.checkForServerUpgrade('root@old-source:3306', {targetVersion: '8.0.40'})" -- on the upgraded replica, after START REPLICA: SHOW REPLICA STATUS\G -- Seconds_Behind_Source, Last_Error
Cost basis
A major upgrade costs engineer time and a temporary replica or two. There is no licence line. OSStend's fee is quoted per design.
Use your own cloud list as the yardstick: the overlap adds the cost of one extra server with a 1 TB disk for the weeks the old and new versions run side by side. For a RDS-based comparison, see AWS RDS pricing explained.
| Approach | Extra infrastructure | Rollback |
|---|---|---|
| Replica-first upgrade, 5.7 to 8.0 | One extra replica for 1 to 3 weeks | Before cutover: drop the replica. After: not by replication |
| In-place upgrade of the source | None | Backup restore only |
| Dump and load to a new 8.0 server | A full second server | Old server kept until cutover |
| Second hop, 8.0 to 8.4 | Same pattern again | Same limits |
| OSStend | Quoted per design | Rollback plan in the design |
Paths and replication compatibility: MySQL 8.4 manual, upgrade paths and replication compatibility, checked 23 Nov 2026.
What we watch on call
Most MySQL 8.0 surprises come from changed defaults. These are on our checklist.
- Authentication plugin.
- The 8.0 default is caching_sha2_password; old drivers fail. Signal: auth errors from one client.
- Collation mix.
- New utf8mb4 default collation breaks joins with older tables. Signal: illegal mix of collations.
- Removed query cache.
- Setting query_cache_type errors. Signal: startup errors in the config.
- GROUP BY ordering.
- Implicit sorting no longer happens. Signal: reports with changed order.
- Replica lag after upgrade.
- Signal: Seconds_Behind_Source on the 8.0 replica.
- No reverse replication.
- Signal: rollback plan reviewed before the window.
When OSStend is not the right fit
A guided upgrade helps when downtime is expensive and rollback matters. A small database can take a window and an in-place upgrade.
Contact us if
- ✓You cannot stop writes for long.
- ✓Many drivers and reports touch the database.
- ✓You want both hops planned together.
Not a fit if
- ✕The database is small and a window is fine.
- ✕You already have a tested upgrade team.
- ✕The application cannot be tested first.
Questions buyers ask
Can we go 5.7 to 8.4 directly?
No. The MySQL manual says a bugfix or LTS series cannot be skipped, so go 5.7 to 8.0, then 8.0 to 8.4 (MySQL docs, checked 23 Nov 2026).
Can we roll back by replicating to 5.7?
Generally not. MySQL documents newer-source to older-replica replication as generally not supported (MySQL docs, checked 23 Nov 2026).
What should we run first?
The MySQL Shell upgrade checker, which the manual recommends before any upgrade.
Plan your MySQL upgrade with an engineer
Share your version, size and drivers. An engineer will write the path and the rollback.
- ✓A design sketch for your workload, not a plan menu
- ✓A zero-downtime cutover path for what you run today
- ✓A price for that design, after the review





