Upgrading the Magento 2.4.9 database: why it matters and which path is supported
Magento Open Source 2.4.9 supports MySQL 8.4 or MariaDB 12.3 (recommended) or MariaDB 11.8, according to Adobe's system requirements for that release. For most teams, the practical choice is MySQL 8.4 or MariaDB 12.3, and the decision should follow your existing operating skills, backup tooling, hosting platform and any extension that has been tested against a specific database. Adobe supports only the listed combinations, so a database version outside that list, even one that starts and runs, falls outside what Adobe will support. Confirm the exact pairing with the current Adobe Commerce system requirements before you order infrastructure, because the list changes with each release line.
The 2.4.8-p5 requirements allow a different set: MySQL 8.4, MariaDB 11.4 or MariaDB 11.8. That difference matters if you are still on 2.4.7 or 2.4.8 and plan a staged move. Adobe's lifecycle dates give the time frame for that move: standard support for 2.4.7 ends on May 31, 2027, 2.4.8 on May 31, 2028 and 2.4.9 on May 31, 2029. Adobe's upgrade guide recommends applying every patch cycle to stay secure and PCI compliant. A store that stays on an unsupported release line, or on a database version that Adobe no longer lists, will have difficulty showing a current patch level in a PCI DSS assessment, so ask your acquiring bank or QSA which evidence they accept for the platform and database.
Treat the database choice as part of the upgrade scope, not a separate infrastructure task. Record the chosen version, the Adobe requirement it satisfies, and the date you verified it. Then confirm the database version with the people who own your extensions and third-party integrations, since their vendors may test against a different combination. Ask each extension vendor in writing which MySQL or MariaDB versions they have tested with 2.4.9. Where a vendor cannot answer, that gap becomes a test item for the rehearsal, not an assumption.
What changes in the database layer for 2.4.9
This table compares the database and adjacent component requirements Adobe lists for Magento Open Source 2.4.8-p5 and 2.4.9. Read each row as a question to answer before the upgrade: which database versions are supported, which pairings move with them, and what your team must confirm in its own environment.
| Change | Impact | Action needed |
|---|---|---|
| Supported database versions | 2.4.9 lists MySQL 8.4 or MariaDB 12.3 (recommended) or 11.8. 2.4.8-p5 lists MySQL 8.4 or MariaDB 11.4 or 11.8. | Confirm your target database is on the 2.4.9 list. MariaDB 11.4 is listed for 2.4.8-p5 but not for 2.4.9. |
| MariaDB 12.3 as recommended target | Adobe names MariaDB 12.3 as the recommended option for 2.4.9. MariaDB 12.3 is an LTS release with a May 28, 2026 GA date. | Test MariaDB 12.3 in staging first, and record why your team chose it or an alternative. |
| Combinations only | Adobe supports only the listed combinations of PHP, database, OpenSearch, Redis or Valkey, RabbitMQ, Composer and nginx. | Build the full stack from the requirements page, then ask Adobe or your partner to confirm any combination outside it. |
| PHP 8.5 pairing | 2.4.9 pairs MySQL 8.4 or MariaDB 12.3 or 11.8 with PHP 8.5. 2.4.8-p5 pairs its database options with PHP 8.4 or 8.3. | Move PHP and the database in the same staging rehearsal so the combination is tested as one unit. |
| OpenSearch 3 pairing | 2.4.9 lists OpenSearch 3. 2.4.8-p5 also lists OpenSearch 3, so the search version does not change between these two releases. | Keep the search tier in the same test run, and confirm index behavior after the database move. |
| Valkey and Redis version | 2.4.9 lists Redis or Valkey 9, while 2.4.8-p5 lists Redis or Valkey 8.1. | Plan the cache and session tier upgrade alongside the database so both change in one controlled window. |
| Database used by a self-managed store | Adobe's requirements are the supported list for Magento Open Source. They do not describe how your data changes, so migration effort depends on your schema and extensions. | Ask the team that owns each custom module or extension to confirm it runs on the target database version. |
How to choose between MySQL 8.4 and MariaDB for Magento
Adobe's 2.4.9 requirements allow either MySQL 8.4 or MariaDB, so the choice is about support, licensing and your team's skills rather than compatibility on paper. The four factors below are the ones to settle before you pick a version and start a rehearsal.
Adobe's recommended database
Adobe's 2.4.9 system requirements list MySQL 8.4 or MariaDB 12.3 (recommended) or 11.8. Adobe supports only the listed combinations, so a MySQL 8.4 or MariaDB 11.8 choice still sits on the supported list, but it is not the version Adobe names first. If you choose anything outside the list, Adobe support will not cover the stack. Confirm the exact pairing with your PHP, OpenSearch and Valkey versions before you lock the design.
Adobe system requirementsLicensing and governance
MySQL Community Edition is freely downloadable under the GPL license, and Oracle develops it. MariaDB Server is licensed under GPLv2 and the MariaDB Foundation states it will remain free and open source software independent of any commercial entity. Legal and procurement teams should record which license and which steward apply to the exact build you deploy, including any paid tier you might add later for backups, encryption or support.
About MariaDB FoundationSupport windows and release tracks
MySQL LTS releases fall under the Oracle Lifetime Support Policy, with 5 years of premier support and 3 years of extended support. MariaDB long-term releases get 3 years of community binaries after general availability, then 2 more years of critical and security fixes. Those windows differ in what they cover, so ask each vendor for written end dates for the release you plan to run through your planned Magento lifecycle, not only the headline figure.
- MariaDB LTS years
- 3 + 2
Existing skills and tooling
The engine that your DBAs already run, back up, monitor and patch is usually the lower-risk choice. Check whether your backup tooling, replication setup, monitoring templates, failover runbooks and access policies work with the candidate. Also check whether your managed database service or hosting platform offers the version you need. A mismatch here adds work after cutover, so test restores and failover on the candidate before you decide.
What MySQL Community and MariaDB Server each bring to the stack
Both engines can run Magento Open Source, so the feature list is only a decision aid once Adobe's supported combinations narrow the field. MySQL Community includes InnoDB Cluster, which combines Group Replication with automated failover, MySQL Router for routing application connections, MySQL Shell for administration, and Performance Schema for query-level instrumentation. Those tools matter most if the store needs database high availability managed by the MySQL stack itself. MySQL Enterprise adds Enterprise Backup for hot backups, Transparent Data Encryption, Enterprise Audit and 24x7 Oracle support. Confirm with your security and compliance team whether any of those controls must be commercial features, and price that licence separately from the Magento work.
MariaDB Server offers a different set of building blocks. Its Galera synchronous multi-primary clustering, asynchronous, semi-synchronous and parallel replication with global transaction IDs, and data-at-rest encryption are documented in its README, and the README also lists TLS and role-based access control. The native VECTOR data type with HNSW indexing, available since MariaDB 11.8, is relevant only if the store plans in-database vector search. Most Magento stores search through OpenSearch, so do not select MariaDB for VECTOR alone. Check whether the Galera or replication approach you plan is one that your Magento deployment and your database operations team have tested.
Whichever engine you pick, the store's own needs decide which of these features matter: the required recovery point and time, the number of database nodes, audit obligations and the team's operating experience. The constraint is Adobe's list. Adobe's 2.4.9 requirements name MySQL 8.4, MariaDB 12.3 (recommended) and MariaDB 11.8, and Adobe supports only the listed combinations. Ask your Adobe or Magento partner to confirm the exact versions and any clustering or proxy setup they will support before you design around a feature.
Preparation before touching the database
Adobe's upgrade guide names customizations, extension count and third-party integrations as drivers of upgrade effort, so the work before the database change sets how long the cutover takes. These four preparations cover what you can restore, what touches the data, what you can test and how you return to the previous state.
Verified database and code backup
Take a full database backup and a copy of the code tree, including the Magento configuration file, at the same point in time so both can be restored together. Confirm that your backup tool supports both the current engine and the target engine, and that the file restores cleanly onto a fresh server. A backup that nobody has restored is an assumption. Record who holds the backup, where it is stored and how long it stays available through the cutover window.
Inventory of custom SQL and integrations
List every place that reads or writes the database outside the core: custom modules with direct queries, extensions that create their own tables, cron jobs, reporting exports, ERP and payment connectors, and database users with their grants. Adobe's upgrade guide names customizations, extension count and third-party integrations as drivers of effort, so this inventory sets the scope of testing. Any statement missing from the inventory will surface in production. Ask each extension vendor whether their current release supports the engine and version you plan to run.
Upgrade guide overviewProduction-sized staging copy
Build a staging database from a recent production copy with comparable catalog size, order history and customer records, with personal data masked. Run the full upgrade there on the PHP, search, cache, queue and web server versions listed in the 2.4.9 requirements, so timings and errors carry over to production. Time the database upgrade, the reindex and the checkout smoke tests, and record the results. A small sample copy hides the slow queries that matter. Refresh the copy before each rehearsal so every run starts from the same data.
2.4.9 system requirementsDocumented rollback target
Decide before cutover how you return to the previous state if the new database fails acceptance tests. Options include keeping the old database server available in read-only mode, restoring the verified backup to a new host, or combining both. Record the source engine and version, the target engine and version, and the exact steps and owner for each path. Moving between MySQL and MariaDB requires a logical dump and restore, so plan that path explicitly. Set a clear time after which rollback becomes costly, because new orders will have been written. Rehearse the rollback on the staging copy as well.
The database upgrade sequence and its rollback points
This sequence moves the Magento Open Source database from its current engine to MySQL 8.4 or a supported MariaDB release in a rehearsed order, with a defined rollback point at every stage. Each step ends with a check that tells the team whether to continue or go back.
Freeze the target versions from the requirements page
The architect records the exact Magento Open Source target, the PHP version and the database choice from Adobe's system requirements for the release, along with the OpenSearch, Valkey or Redis, RabbitMQ and nginx versions listed with it. Adobe supports only the listed combinations, so the team confirms that the chosen MySQL 8.4 or MariaDB release appears in that list before any build starts. Output: a signed version matrix. Rollback point: none is needed yet, because nothing has changed in production. Confirm the current requirements page on the day the matrix is approved, since Adobe publishes updates.
Build the staging environment from the matrix
The platform team provisions a staging stack that mirrors production topology, including database servers, replicas if they exist, search, cache and message services, all at the frozen versions. Database engine choice is made here, with MySQL 8.4 and MariaDB compared against the features the store actually uses, such as replication or clustering. Output: a staging environment where a deployment and a Magento health check both succeed on an empty or seed database. Rollback point: staging is disposable, so the team can rebuild it from the same matrix at any time.
Restore a production-sized copy into staging
The team restores a recent production backup into staging on the target database engine, using a documented restore procedure that includes the media directory, environment configuration and any encryption keys. The copy should match production in data volume, index state and table layout, so that migration timing and query behavior can be measured. Output: a restore log and a row-count and table-size comparison against production. Rollback point: the production backup itself, which must be verified to restore before this step is accepted. Ask the team to confirm how production data is masked before it leaves the production boundary.
Run the Magento upgrade against the new database
On the restored copy, the engineers run the Magento upgrade to the target release using the Composer-based process Adobe documents, with the new database as the backing store. They record every error, deprecation message and schema change, and they confirm that the application connects and that the setup scripts complete without partial state. Output: a clean upgrade log and a database schema that passes Magento's own status checks. Rollback point: the restored copy can be re-created from the production backup and the upgrade run again, so the team repeats the run until the log is clean.
Run the Upgrade Compatibility Tool where it applies
Adobe's Upgrade Compatibility Tool is referenced in its upgrade guide, but the team must confirm whether it covers the Open Source edition and the exact target versions before relying on it. Where it applies, the tool scans custom code and extensions for incompatibilities, and findings are triaged by owner. Where it does not apply, the team uses static analysis and extension vendor confirmations instead. Output: a findings list with each item marked fixed, accepted or blocked. Rollback point: fixes are made in the codebase branch, so the upgraded staging build can be rebuilt without touching production.
Run regression and performance checks
QA runs functional regression on checkout, customer accounts, catalog search, admin order handling and every integration that reads or writes the database, including ERP and payment connectors. Performance engineers run load tests against the staging build and compare query times, index rebuild duration and cache behavior with the current production baseline. Output: a signed test report with defects logged and a go or no-go recommendation for the database engine. Rollback point: if the database choice fails a performance or compatibility gate, the team returns to step two and chooses the other engine, rebuilding staging from the same backup.
Take a final backup and verify it
Immediately before the maintenance window, the operations team takes a full production database backup, plus a copy of the media directory and environment configuration, and restores it to an isolated host to prove it is usable. The team records the backup identifier, time and checksum in the change record. Output: a verified restore on an isolated host. Rollback point: this backup is the authoritative fallback for the cutover, and the change record names the person authorized to restore it. Confirm the backup retention and storage location against your own policy.
Cut over during a maintenance window
The team enables maintenance mode, stops writes, applies the final database migration and upgraded code to production, and runs the post-upgrade checks and smoke tests against the live store before reopening it. Monitoring watches error logs, database connections and checkout success while the store is open to customers. Output: a checkout test order completed and a clean log review signed off by the owner. Rollback point: the verified backup from the previous step, with a defined decision time agreed in advance and written into the change plan. Ask your provider to confirm the window length and rollback decision owner in writing before the change is scheduled.
How the database fits with PHP, OpenSearch, Valkey and nginx in 2.4.9
The diagram starts with shopper and admin traffic reaching Varnish, the full-page cache for self-managed installations, then nginx, which passes requests to PHP 8.5. PHP is the hand-off point to the database, which you choose as MySQL 8.4 or MariaDB 12.3 or 11.8, to OpenSearch 3 for catalog search, to Valkey 9 or Redis for cache and sessions, and to RabbitMQ 4.3 for queued jobs. Rehearsal starts from a production-sized copy in staging, and a backup taken before cutover is the rollback point. Confirm each version against Adobe's system requirements for 2.4.9, since Adobe supports only the listed combinations.
Reference architecture for 2.4.9. Confirm each component against Adobe's system requirements.
Rehearsing the change on a production-sized copy
A single-node staging host runs the web tier, the database and the search, cache and queue services on one machine, or close to it. It is the cheapest rehearsal to build and the fastest to reset, which makes it useful for proving the mechanics of the change: that the 2.4.9 setup accepts the target database, that the Magento schema and data upgrade run to completion, and that the application starts against the new server version. It cannot prove how the change behaves under production network latency, replication lag, or the load that exposes slow queries. Ask the team to confirm the following before relying on it:
- Data size: the staging copy holds a production-sized dump, not a trimmed sample, and the row counts for the largest order, quote and index tables match the source at the time of copy.
- Server settings: the MySQL 8.4 or MariaDB configuration matches production for buffer pool size, character set and collation, and SQL mode, since these change query plans.
- Restore timing: the time to restore the full backup onto this host is measured, not estimated, and recorded as a baseline for the cutover window.
- Replication: replication is absent here, so the team should state that replica behavior is untested in this tab.
- Storage: disk type and IOPS differ from production, so the schema upgrade duration from this host is a lower bound, not a forecast.
Record every run's start and end times so the figures can be compared with later rehearsals.
A multi-node layout that mirrors production separates the database tier from the application tier and includes the replicas, failover arrangement and backup target that production uses. This is the rehearsal that tests the change as operators will run it: the primary is upgraded or replaced, replicas are rebuilt or re-synced, and the application reconnects through the same proxy or DNS names. It proves the procedure, the ordering of steps and the effect on replication topology. It cannot prove everything about production, because hardware, traffic patterns and any cross-site links may still differ. Ask the team to confirm:
- Topology parity: the number of replicas, replication mode and failover method match production, and the version pairing during the rolling step is documented and supported.
- Replication behavior: the time for replicas to catch up after the primary change is measured under a write load close to production, and any replication filters or binary log settings are identical.
- Restore timing: a full restore into a fresh node is timed end to end, including copying the backup over the network and any encryption or decryption steps.
- Rollback path: the team has rehearsed returning to the previous database version and has confirmed whether the data written after cutover can be read by the old server.
- Client and proxy settings: connection pooling, timeouts and character set negotiation behave the same way after the change.
Keep the topology diagram and the step timings with the change record.
A managed database service in the client's cloud account offers MySQL or MariaDB as a provider-operated service, with backups, failover and minor version handling handled by the provider. Rehearsing here proves that the target engine version is offered in your region and account, that the provider's major version change procedure works with the Magento schema upgrade, and that parameter groups and connection limits carry over. It cannot prove the behavior of the provider's internal maintenance, the exact timing of its automated snapshots, or how the provider schedules failover during a real incident. Ask the team to confirm:
- Version availability: the MySQL 8.4 or MariaDB version Adobe lists for 2.4.9 is offered by the provider in the target region, and the provider's own end-of-support dates are noted.
- Parameter groups: custom parameters used by production, such as those for InnoDB and SQL mode, are reproduced in the rehearsal instance and tested against the Magento schema.
- Restore timing: a point-in-time restore into a new instance is timed, and the provider's restore duration is recorded separately from the Magento upgrade time.
- Cost during rehearsal: the team has agreed who pays for the rehearsal instances and how long they run, since a copy of production-sized storage is billed while it exists.
- Access and encryption: the rehearsal instance uses the same key management and network rules as production, so security review covers it.
Record the provider and version used so the cutover runbook names the exact service.
What makes a database upgrade take longer
This table lists the factors that stretch a MySQL 8.4 or MariaDB change under Magento 2.4.9 and what each one adds to the work. Read each row as a question to answer in your own environment before you accept a quote. The main takeaway is that the database move is rarely the slow part by itself; the time goes to custom SQL, extensions that bypass the ORM, replicated topologies and rehearsals that must repeat across every environment.
| Driver | Why it adds effort | What to ask for in a quote |
|---|---|---|
| Database size and table count | Larger schemas take longer to dump, restore and validate, and the rehearsal copy must match production to show realistic timings. | Dump and restore timings from a production-sized rehearsal, and a row count and size check of the largest tables. |
| Custom SQL and stored procedures | Hand-written queries, triggers and routines can rely on behavior that changes between MySQL 8.4 and MariaDB, so each one needs review and testing. | A list of custom SQL, triggers and routines reviewed against the target engine, with test cases for each. |
| Extensions that query the database directly | Extensions that bypass Magento's data layer may use table names, columns or syntax that the chosen engine handles differently. | Vendor confirmation of MySQL 8.4 or MariaDB support for each extension, and a plan for any that do not confirm. |
| Replication or Galera topology | Replicas, semi-synchronous links or a Galera cluster need coordinated version changes, and a mixed-version state must be tested before cutover. | A written rollout order for primaries and replicas, and the rollback steps for each node. |
| Number of environments to keep in sync | Development, staging, performance and production each need the same engine and version, and drift between them hides defects until release. | Confirmation that every environment is upgraded from the same build, with a record of each environment's engine version. |
| PHP and OpenSearch moves in the same window | Changing PHP, the search engine and the database together multiplies the failure points and makes it harder to isolate which change caused a defect. | A decision on sequencing, with the test evidence that supports combining or separating the moves. |
| Choice between MySQL 8.4 and MariaDB | Choosing one engine means validating the Adobe-listed versions for that engine, and switching later means repeating the rehearsal and regression cycle. | A written comparison of supported versions for the chosen engine, plus confirmation of the Adobe requirements for 2.4.9. |
Questions buyers ask about the Magento database upgrade
What does a Magento database upgrade cost, and what drives the fee?
The fee follows from the written scope, not from a standard price, because DeployOpen does not publish a price list. The main components are discovery of your current database version, queries and extensions, the target engine decision, a rehearsal on a production-sized copy, the cutover runbook, and post-cutover verification. Costs rise with the number of custom modules and third-party extensions that touch the database, the size of the dataset, how many environments need rehearsal, and whether you also need replication or high availability designed in. Some costs are one-time (the project itself), while hosting and licensing for the chosen engine recur. Ask for a quote that lists each phase, who performs it, and which items are optional. Adobe's upgrade guide names customizations, extension count, third-party integrations and coding practices as the main drivers of upgrade effort, and those same factors drive database work.
How long does a Magento database upgrade take?
Duration depends on how many environments you must rehearse, how large the production-sized copy is, how many extensions and custom queries need testing against the new engine, and how long your change window allows. Discovery and the engine decision come first, then several rehearsal runs, each followed by functional testing of checkout, admin and integrations. The final cutover is usually scheduled within a maintenance window you agree in advance. No fixed duration is supplied for this work, so ask the delivery team for a timeline in the written scope and check it against your release calendar. Note that Adobe's 2.4.9 requirements specify the database version you must run, so the upgrade often runs alongside a broader PHP and platform move, which can extend the schedule.
Can our own team do the database upgrade, and what skills do they need?
Yes, many teams do this internally if they have database administration experience and a working knowledge of Magento. The skills that matter are MySQL or MariaDB administration (backup and restore, user and privilege management, configuration, replication if used), Magento environment operation (Composer, cron, indexers, caches), and enough PHP and SQL knowledge to find queries that behave differently on the new engine. Your team also needs test automation or disciplined manual test scripts for checkout, payments and integrations. Check the Adobe system requirements for the exact combinations supported by your target release, because only listed combinations are supported. A useful self-assessment is whether your team has rehearsed a restore from backup in the last year. If not, a partner-led rehearsal can be scoped as a fixed piece of work, with knowledge transfer included in the written scope.
What do we need to provide before the database work starts?
Plan to provide the following before discovery begins:
- Access to the current production-like environments, with read access to the database and application code, and an agreed route for changes.
- A production-sized copy of the database, anonymized where personal data is involved, and an agreement on how that copy is refreshed.
- Staging infrastructure that matches production closely enough to rehearse the cutover.
- Named business owners who can test checkout, catalog, admin and integration flows.
- Agreed change windows, a freeze calendar and an escalation contact.
- A list of extensions, custom modules and integrations, with vendor support status for each.
Confirm with your data protection team how test data is masked, because a copy of production customer records carries the same obligations as production.
Should we choose MySQL 8.4 or MariaDB for Magento Open Source?
Both are listed for Magento Open Source 2.4.9 in Adobe's requirements. MySQL 8.4 is the LTS line that Adobe lists first for 2.4.8-p5, and MariaDB 12.3 is the recommended option for 2.4.9, alongside 11.8. Adobe lists MariaDB 12.3 as recommended, so for a 2.4.9 target, confirm that choice against your hosting, support contracts and internal skills before deciding. MySQL Community Edition is GPL licensed and includes InnoDB Cluster, Group Replication, MySQL Router and MySQL Shell. MariaDB Server is GPLv2 and has its own LTS schedule, with a 12.3 LTS release dated May 28, 2026. Consider which vendor's support, enterprise features (such as Transparent Data Encryption or Enterprise Audit on the MySQL side) and operational tooling your organization already runs. Check which engine your hosting provider and backup tooling support before committing.
How does rollback work if the database cutover fails?
Rollback depends on a tested plan agreed before cutover. The usual approach is a full, verified backup taken immediately before the change, a documented restore procedure rehearsed on the production-sized copy, and a clear decision point at which the team reverts the application and database to the prior state. Record the Magento release, PHP version, database version and configuration files so you know exactly what to restore. Test whether a restore completes within your window, and verify that application code, environment configuration and the database match before reopening the store. If you move to a new engine on separate infrastructure, keep the original server available until the new one has passed verification. Ask any delivery partner to show the rollback steps as part of the rehearsal, not only the forward migration.
How to verify the cutover and roll back if it fails
Verify the cutover against the storefront and back office before anyone declares the database move finished. Place a test order through the full path, then confirm it appears in the admin order grid, that payment and shipment records are written, and that stock decrements. Log in to the admin with an account that has restricted roles, then check cron runs, indexers report as ready, and the message queue consumers are processing. Run a search from the storefront and confirm results come from the OpenSearch 3 cluster, not a stale index. Finally, exercise each integration that writes to or reads from the database, such as ERP, payment and shipping calls, and compare the results with a known baseline. Keep the checklist written and signed off by someone outside the build team.
Set the rollback decision point in advance, with named owners and a time limit. Agree which failures trigger a rollback, such as failed order placement, corrupted order totals, or indexers that cannot complete, and who has authority to call it. Once orders have been taken on the new database, a rollback means either replaying those orders into the old database or accepting their loss, so the decision window is short and the business owner must agree to it before cutover. Confirm the rollback timing against your own environment, including how long a restore of your production-sized copy took in rehearsal and how long your change window allows.
Keep the old database available as a restore source for a defined retention period. Take a verified backup of the pre-cutover database and a consistent snapshot immediately before the change, store it outside the database host, and test a restore of that backup into an isolated instance. Keep the original MySQL or MariaDB server in a stopped but recoverable state for an agreed period, and record the retention length, the owner and the deletion date in your change record. Confirm with your database and platform team how long your backup retention policy and PCI DSS scope require records to be kept, since these may set a longer period than the rollback window.
When to change the database version separately from the Magento upgrade
This sequence decides whether the database can move on its own schedule or must travel with the 2.4.9 upgrade, and it confirms that the final pairing is one Adobe lists. Each step ends with a record the team can check before the change proceeds.
Record the current database and Magento versions
The platform or DBA lead records the exact running MySQL or MariaDB version, the Magento Open Source release and patch level, and the PHP version on every node that connects to the database, including cron and worker hosts. Collect the values from the server itself rather than from the original build ticket, because the installed package often differs from what was documented. The output is a version inventory signed off by both the platform and application owners, which becomes the baseline for every later decision.
Compare the database against the target requirements
Check the recorded database version against the database entries in Adobe's system requirements for the target release. For 2.4.9, the listed options are MySQL 8.4 or MariaDB 12.3 (recommended) or 11.8. If the current database and the target Magento release are both on Adobe's list, the database change can be scheduled separately. If the database is not on the list, or the Magento release is not, the database change becomes part of the 2.4.9 move. The output is a written yes or no, with the requirement page version recorded next to it.
Confirm the combination is one Adobe lists
Check the full stack, not only the database. Adobe supports only the combinations listed for each release, so the PHP, OpenSearch, Redis or Valkey, RabbitMQ, Composer and nginx versions must also match the same requirements page. Do not pair an unlisted database build with a listed Magento release, and do not mix in a database version from a neighboring release line because it looks similar. Ask Adobe support or your Adobe Commerce account contact to confirm any combination that is not an exact match. The output is a single approved stack table for the target environment.
Decide between MySQL 8.4 and MariaDB
Choose the engine that fits your operations, licensing, clustering and skills, using only the versions on the approved list. Consider whether your team already runs MySQL or MariaDB in other systems, which replication or clustering model you use, and what support and patch cadence your organization requires. Confirm the release track you intend to run with the vendor documentation before you commit. The output is a recorded decision with the reasons and the named owner who will maintain the database after the change.
Rehearse the database change on a production-sized copy
Restore a recent production backup into a non-production environment that matches the production database size, character set, storage engine settings and replication layout. Run the chosen database upgrade or migration path there, then start Magento, run setup:upgrade, reindex and execute the critical checkout, admin and integration tests. Record the duration of each step and any warnings in the logs. The output is a rehearsal log and a list of issues to resolve before the production window, with the timing measured from your own copy rather than from published estimates.
Verify the database and application after the change
After the rehearsal or production change, confirm the server version reports the approved release, that the Magento application connects with the expected settings, and that the storefront, admin, cron and queue consumers run without new errors. Check replication health if the database is clustered, and confirm backups still complete on the new version. Compare the results with the baseline recorded in the first step. The output is a signed verification checklist that shows the database is on a listed version and the application is working on it.
Schedule the Magento upgrade on the verified database
Once the database is on a listed version and verified, plan the Magento Open Source move as a separate change. Keep the rollback path for the database and the application distinct so each can be reversed without undoing the other. Record the target release and the verified stack in the change record so the upgrade team starts from a known database state. The output is an approved change request that references the verification checklist and names the rollback owner for each layer.

