Upgrading MySQL or MariaDB under SuiteCRM

Moving a SuiteCRM database to a supported MySQL or MariaDB release is a planned change in its own right. This page explains which versions SuiteCRM 8.10 supports, how to rehearse the move, and how to sequence it with SuiteCRM and PHP upgrades.

On this page

Why a SuiteCRM database upgrade needs its own plan

If your SuiteCRM server runs a MySQL or MariaDB release that is end of life or missing from the compatibility list, move it to a release that SuiteCRM 8.10 supports, rehearse the move on a copy of your instance, and sequence it with your SuiteCRM and PHP upgrades. For SuiteCRM 8.10, the supported MariaDB releases are 10.6, 10.11, 11.4 and 11.8, and the supported MySQL releases are 8.0 and 8.4, on Linux, Unix or macOS. Check the SuiteCRM 8 compatibility matrix for the current list before you pick a target, because the list is tied to the SuiteCRM release you run.

The two database tracks differ in ways that affect your choice. MariaDB is a fork of MySQL started by the original MySQL developers, keeps a high degree of MySQL compatibility, and is governed by the MariaDB Foundation alongside MariaDB plc. MySQL has an LTS track and an Innovation track, and Innovation releases are supported only until the next one. Whichever engine you run, confirm with your SuiteCRM and database administrators which release line your organization will keep, because a database that is supported today may reach end of life during your next SuiteCRM upgrade cycle.

The database change is one of several moving parts. It depends on your PHP version, your SuiteCRM release, and the order you choose, so a database-only change can leave a working site incompatible with its current code. Record the current database version, the PHP version and the SuiteCRM release before you start, and agree the sequence with the teams that own each layer.

What changes in the database layer and what each change means

This table compares the database releases SuiteCRM 8.10 supports with the MariaDB and MySQL release tracks that are currently published. Read each row as a question about your own server: which release you run, how long it receives fixes, and what you must do before the next change. The main takeaway is that a supported version today may not be the version you should standardize on, so confirm the lifecycle dates for your chosen release before you schedule the move.

ChangeImpact on SuiteCRMAction needed
SuiteCRM 8.10 supports MariaDB 10.6, 10.11, 11.4 and 11.8Any of these releases is a supported target for SuiteCRM 8.10 on Linux, Unix or macOSConfirm your current server version appears in the compatibility matrix before planning the upgrade
SuiteCRM 8.10 supports MySQL 8.0 and 8.4MySQL 8.0 and 8.4 are supported database targets for SuiteCRM 8.10Check whether your MySQL line is the one you intend to keep for the full upgrade window
MariaDB 12.3 is an LTS release (GA May 28, 2026)Not on the SuiteCRM 8.10 supported list in the matrix, so it needs confirmation before useAsk SuiteCRM support or check the matrix for a newer compatibility entry before choosing it
MariaDB 13.0 is rolling with community end of life in Q4 2026Short support window, so a SuiteCRM instance on it would need another move soonAvoid as a production target unless you accept moving again within months
MariaDB LTS releases receive community support for 3 years, then security fixes for 2 moreYour support window depends on the release line you pick, not on the SuiteCRM versionRecord the end-of-support date of your chosen MariaDB line in your upgrade plan
MySQL LTS track follows Oracle Lifetime Support with 5 years premier and 3 years extended supportMySQL 8.4 and 9.7.2 LTS lines have longer defined support than Innovation releasesConfirm the Oracle support dates for the exact MySQL line you run
MySQL Innovation track (26.7.0) is supported only until the next Innovation releaseFrequent forced moves if the production server runs an Innovation buildDo not run production SuiteCRM on Innovation builds unless you can upgrade at each new release
LTS point releases carry only necessary fixesMinor MySQL LTS updates should not add features that change SuiteCRM query behaviorStill test point updates on a staging copy with SuiteCRM before applying them

Choosing between MariaDB and MySQL for your SuiteCRM server

Staying on MariaDB means moving your existing SuiteCRM database to a MariaDB release that the SuiteCRM 8.10 compatibility matrix lists: 10.6, 10.11, 11.4 or 11.8. The MariaDB Foundation announces one long-term release each year. Community binaries for each long-term release get 3 years of support after general availability, followed by 2 more years of critical and security fixes. Rolling releases arrive quarterly and have a shorter life, so they are a poor fit for a CRM you plan to run for years.

  • Lifecycle: Confirm the end-of-support date for your chosen MariaDB line before you commit, since community support and critical-fix windows differ.
  • Feature set: The MariaDB server README lists features such as a native VECTOR type, replication with global transaction IDs, Galera multi-primary clustering, data-at-rest encryption and role-based access control. SuiteCRM does not require these, so use them only if your team plans to.
  • Compatibility: Use the SuiteCRM compatibility matrix as the authority for which MariaDB versions the SuiteCRM 8.10 line accepts.
  • Migration path: Staying on MariaDB usually means a point-version change within the same family, which keeps the data and client libraries familiar.
  • Support source: Ask your database vendor or internal DBA team whether they support the specific MariaDB build you install.

Before choosing this path, confirm the lifecycle dates for the release you intend to run and check that your hosting image or package repository still carries it.",

What to prepare before touching the database

A database version change is hard to reverse once SuiteCRM writes to the new engine, so the preparation matters more than the command itself. The six items below cover the backups, inventories, environments and agreements that let you rehearse the change, measure it and roll back if it fails.

Full database and file backups

Take a complete database dump and a copy of the SuiteCRM files before any change, following the backup guidance in the SuiteCRM migration documentation. Confirm you can restore both to a separate host and that the restored instance logs in and loads records. Store the backups outside the database server so a failed change cannot take them with it.

Before you migrate

Inventory of custom database objects

List every custom table, view, stored procedure, trigger, scheduled event and hand-written query that touches the SuiteCRM database. Some of these depend on storage or SQL behavior that differs between MySQL and MariaDB, and the inventory tells you which ones to retest. Record the owner and the reason each object exists so it can be reviewed, not just preserved.

Production-like staging copy

Build a staging instance from a recent production backup, with a comparable data volume, the same PHP extensions and the same web server layout. Run the database change there first and time it. A staging copy with a small sample of records will not reveal slow queries or long index rebuilds that appear only at production size.

Current and target version pairs

Write down the current SuiteCRM, PHP and database versions and the target versions you intend to reach. Check every pair against the SuiteCRM 8 compatibility matrix, because the supported database releases depend on the SuiteCRM release you are running. Agree the order of the database change relative to the SuiteCRM and PHP changes before the window opens.

Compatibility matrix

Rollback snapshot of the database server

Capture a snapshot of the database server or its data volume immediately before the change, in addition to the logical backup. A snapshot restores the exact on-disk state, which a logical dump may not, and it gives you a faster return path. Confirm with your platform team that the snapshot is consistent, and test that the server can start from it.

Access and change windows agreed with the business

Agree in writing when the instance goes read-only or offline, who can approve a rollback, and who must be told when users cannot log in. Set the window with sales, service and marketing leads, because scheduled jobs, email imports and campaign sends may need pausing. Confirm the escalation contacts for the database, the application and the business owner.

How to sequence the database change with SuiteCRM and PHP upgrades

The sequence confirms which SuiteCRM, PHP and database versions fit together, proves the database move on staging, and leaves a tested rollback point before each change reaches production. Each step closes with a check that tells the team whether to continue or roll back.

  1. Confirm current versions against the compatibility matrix

    Record the SuiteCRM version, PHP version, web server, and the MySQL or MariaDB release that run today, then compare them with the SuiteCRM 8 compatibility matrix. For SuiteCRM 8.10, the matrix lists PHP 8.2, 8.3 and 8.4, Apache 2.4, MariaDB 10.6, 10.11, 11.4 and 11.8, and MySQL 8.0 and 8.4. Your DBA and the platform owner should agree on a target pair of database and PHP versions before anything changes. This step is done when the team has a written target stack that every listed component supports, and any gap is named as a blocking item. Confirm the matrix entry for your exact SuiteCRM point release, because the matrix is the reference for what is supported.

  2. Rehearse the database move on staging

    Restore a recent copy of production files and database into a staging environment that matches production's SuiteCRM version, PHP version and extensions. Move the database to the target MySQL or MariaDB release there first, then run the SuiteCRM application against it and test logins, record views, workflows, scheduled jobs and any custom modules. Record every error, slow query and changed setting. The step is done when a full run on staging completes with no unresolved errors and the team has timed its own steps, rather than relying on outside estimates. Rollback point: staging can be discarded and rebuilt without affecting users.

  3. Take and verify backups

    Take a full database dump and a copy of the SuiteCRM file system, including the configuration files and any custom code, immediately before the change. The SuiteCRM migration documentation advises backing up both files and database before structural work, so apply that same discipline here. Store the copies outside the server being changed and verify them by restoring the database dump into a separate scratch instance and running a row count and a login test. The step is done when a restore has been proven, not only when the backup file exists. This copy is the primary rollback point for the rest of the sequence.

  4. Upgrade the database server

    In a maintenance window, stop SuiteCRM writes, including the scheduler and worker processes, then upgrade the MySQL or MariaDB server to the target release on the production database host. Follow the vendor's upgrade procedure for your platform and check the server's version string after the change. Run the database's own integrity checks and confirm the SuiteCRM tables open correctly. Keep the previous server binaries or a replica until the next steps pass. The step is done when the server reports the target version, integrity checks pass, and the SuiteCRM application can still connect, even if the application is not yet fully upgraded. Rollback point: restore the pre-change backup or reinstate the previous server package.

  5. Run SuiteCRM checks before the application upgrade

    With the database on its new version, run the SuiteCRM health checks and confirm the installed SuiteCRM release can still read and write the database. Review logs for SQL errors, deprecated syntax warnings and character set or collation problems. Compare the database settings that SuiteCRM depends on against the requirements in its documentation. The step is done when the checks show no blocking errors and the team has a list of any warnings that must be cleared before the next change. If the checks fail, roll back the database to the pre-change backup rather than moving on to the application upgrade.

  6. Run the SuiteCRM upgrade steps

    Apply the SuiteCRM upgrade for the target release, following the upgrade guide for your specific version path. Run the console upgrade and finalize commands in the order the release documents, and review any database migrations that run in the background. Keep a copy of the upgrade logs. The step is done when the upgrade commands finish without errors, the application loads, and a smoke test of logins, record edits and scheduled jobs passes on staging and then on production. Rollback point: restore the files and database from the backup taken before the change, since a partly completed upgrade cannot be reversed by simply reverting the code.

  7. Upgrade PHP or SuiteCRM as the matrix requires

    If the compatibility matrix still shows a gap between the installed PHP version and the SuiteCRM release, upgrade PHP last, then restart the web server and PHP-FPM service and confirm the required extensions load. Run the SuiteCRM checks again and repeat the smoke test. Some teams need a PHP change first, so check the matrix entries for the chosen SuiteCRM release before starting. The step is done when the PHP version, the database version and the SuiteCRM release all appear together in the compatibility matrix and the final smoke test passes. Keep the final backup and the staging record as the documented rollback point for the whole sequence.

How the database, PHP and SuiteCRM versions depend on each other

The path starts by checking the target combination on the SuiteCRM 8 compatibility matrix, since the database, PHP and SuiteCRM versions must all be supported together. Next, the change is rehearsed on a staging copy and a full backup of files and database is taken. Only then is the database changed, and SuiteCRM is verified before the PHP or SuiteCRM steps continue. Any failed check returns the team to the backup, so the rollback path is planned before the first change.

Decision path for changing the database alongside PHP and SuiteCRM upgrades, with rollback to backup.

How to rehearse the move and roll back if it fails

A rehearsal on a copy of production data finds problems that a clean test install never will. A fresh SuiteCRM 8.10 install on a new MariaDB or MySQL server contains none of the rows, collations, custom fields, workflow records or scheduler history that your live database carries, so a clean test proves little about your change. Restore a recent production backup into an isolated environment with the same database engine and version you plan to move to, then run the SuiteCRM database upgrade against it with the same PHP and SuiteCRM versions planned for the window. Record the elapsed time of each step, because the restore and any schema work set the length of your change window. Confirm the exact database versions your target SuiteCRM release supports in the SuiteCRM 8 compatibility matrix before you choose the target.

After the change, verify behavior, not just that the service starts. Test a SuiteCRM login for each authentication path in use, including LDAP or SAML if AUTH_TYPE is set to one of them. Open records owned by different users and roles to confirm that record access still matches your role design, and check that list views, detail views and reports return the same row counts you recorded before the change. Confirm that scheduled jobs and workflows run on schedule by checking the scheduler's last run times and any failed job records. Compare character set and collation settings on sample text fields that contain accented names or non-Latin characters, since collation changes are a common source of silent sorting and search differences.

Write the rollback plan before the change window opens, and make it specific. A rollback means stopping SuiteCRM, restoring the pre-change database backup, and restoring the application files that match that backup, including the config.php and .env settings and any custom code, so the code and schema agree. Name who makes the rollback decision and the point after which you will not roll back, and test the restore procedure on the rehearsal copy so the steps are known to work. Keep the pre-change backup separate from the post-change backup, and confirm that a restore has been tried end to end before relying on it. Any data written after the change began will be lost on rollback unless you plan for it, so decide in advance how users are informed and how such writes are handled.

What makes a database upgrade take longer

This table lists the factors that most often lengthen a MySQL or MariaDB change under SuiteCRM, with why each adds work and what to check before you plan the window. Read it before estimating, because the same version jump can take a day on a small instance and far longer on a shared or clustered database.

DriverWhy it adds workWhat to check
Database sizeLarger schemas take longer to back up, restore into a rehearsal copy and verify after the engine change.Total schema size, largest tables and whether a restore to a separate host has been timed.
Custom tables and triggersCustom modules, logic hooks or Studio changes may add tables, columns or triggers that the upgrade must carry across and test.Inventory of custom tables, triggers, views and stored routines compared with core SuiteCRM schema.
Shared database useOther applications using the same server or schema may break on a version change or need coordinated downtime.Every client connecting to the server, their driver versions and whether they support the target release.
Replication or Galera clustersReplicas and cluster nodes must be upgraded in a planned order, and replication compatibility must be confirmed before cutover.Topology, replication mode, node count, failover procedure and whether a rollback path keeps replicas consistent.
Storage engine choicesTables outside InnoDB or on engines with different behavior need separate checks for compatibility and recovery.Engine per table, any non-default engines and whether the target server supports them as configured.
PHP extension dependenciesThe PHP database driver and extensions must match the new server release, so PHP and database changes are linked.Enabled PDO and MySQL extensions on each web and worker host, and the PHP version the target SuiteCRM release supports.
Number of environments to rehearseEach environment (test, staging, production, disaster recovery) needs its own backup, change and verification run.How many environments exist, whether they match production in version and data volume, and who signs off each step.

Questions teams ask before upgrading their SuiteCRM database

What does a MySQL or MariaDB upgrade for SuiteCRM cost?

No price is published for this work, and the cost depends on the written scope. The main cost components are the people who plan the change, take and verify backups, rehearse the upgrade on a copy of production, perform the cutover, and check the application afterwards. Costs rise with the number of environments, the size of the database, the amount of custom code that touches the database, and whether the database is replicated or clustered. Most of the cost is one-time for the change itself, while any ongoing support, patching or monitoring recurs. Ask any provider, including DeployOpen, for a quote that lists each phase, the environments covered, who performs each task, and what is excluded.

How long does a SuiteCRM database version upgrade take?

Duration depends on the target version, the database size, and how many environments must be rehearsed before production. The rehearsal is usually the longest step, because the team needs to confirm that SuiteCRM runs correctly on the new database release and that the upgrade runs to completion on a realistic copy. Other drivers include the number of PHP and SuiteCRM steps that must be sequenced with the database change, how many customizations need review, the maintenance window your business allows, and how quickly your team can approve each stage. Ask the provider for a timeline tied to named milestones rather than a single total.

What does our internal team need to provide for the upgrade?

Your team needs to supply access and decisions that only your organization can give. This includes access to the SuiteCRM server, the database host, and the backup system, plus a staging environment that resembles production. Someone must own the SuiteCRM application, know which customizations exist, and be available to test business workflows after the change. Your team should also confirm the maintenance window, the rollback approval process, and who signs off the cutover. Ask the provider to list these dependencies in the written scope so gaps are found before work starts.

Can our own team upgrade the SuiteCRM database without a partner?

Yes, many teams do this in-house if they have database administration skills and a rehearsal environment. The work is manageable when the current database version is already on a supported path, the backup and restore process has been tested, and the team can follow the vendor documentation step by step. A partner is more useful when the database hosts several applications, replication or clustering is in place, the SuiteCRM version gap is large, or the team lacks capacity to rehearse. Check the SuiteCRM compatibility matrix for the current supported database versions before deciding.

Should we choose MariaDB or MySQL for SuiteCRM?

SuiteCRM 8.10 supports both families, so the choice rests on your platform standards, licensing preferences, support model and operational tooling, not on a single technical rule. MariaDB 10.6, 10.11, 11.4 and 11.8 and MySQL 8.0 and 8.4 are the supported releases listed for SuiteCRM 8.10. MariaDB Server is described as GPLv2 licensed and developed by a community together with the MariaDB Foundation and MariaDB plc. MySQL Community Edition is available under the GPL, while MySQL Enterprise Edition adds commercial features and 24x7 Oracle support. Confirm your existing database family, any cluster tooling, and vendor support requirements before selecting one, and avoid switching families during a routine version change unless a migration plan covers it.

What should we ask a partner to include in a written scope?

A written scope should name the current and target SuiteCRM, PHP, and database versions, and state which supported database releases are in the plan. Ask the provider to specify the environments included, such as staging and production, and how the backup, restore and rollback steps are tested. The scope should also list the sequence of database, PHP and SuiteCRM changes, the customization review, post-upgrade checks, and what is excluded, such as application fixes or future patch releases. Request deliverables, including a runbook, verification checklist and rehearsal record, along with the responsibilities split between your team and the provider.

What goes wrong most often during a SuiteCRM database upgrade?

The most common problems are an unverified backup, a database release that SuiteCRM does not list as supported, and a change made out of sequence with PHP or SuiteCRM. Teams also miss database settings that differ between the old and new release, which can surface as errors only under real workloads. Custom code or extensions that query the database directly can fail after the change. Reduce these risks by restoring a backup to a rehearsal server, running the upgrade there, testing key business workflows, and agreeing a rollback point before production work begins.

How DeployOpen works on this

DeployOpen plans and delivers the MySQL or MariaDB move under a SuiteCRM instance as a written, fixed-scope engagement inside your own infrastructure. We start from your current database engine and version, the SuiteCRM and PHP versions in use, and the supported release targets, then rehearse the change before production.

How we scope

  • Written scope names the current database engine, version and hosting model, plus the target MySQL or MariaDB release from the SuiteCRM 8.10 compatibility matrix.
  • Scope lists the SuiteCRM and PHP upgrade steps that must be sequenced with the database change, so no step is left unassigned.
  • Scope states who owns backup storage, maintenance windows, staging hosts and access, and what happens if rehearsal findings change the plan.

How we build

  • We run a health check on the database, including table sizes, character sets and engine settings, before choosing an upgrade path.
  • We rehearse the database move on a staging copy of production data, recording each step, timing and any SuiteCRM errors that appear.
  • We verify the SuiteCRM login, scheduler, worker and key record workflows against the upgraded database before the production change is approved.

How we hand over

  • You receive a runbook with the exact order of database, PHP and SuiteCRM changes, rollback points and the backup restore test results.
  • Configuration files, connection settings and any changed database parameters are documented with the reason for each change.
  • Operators receive a post-upgrade checklist covering cron jobs, logs and slow query checks so your team can confirm the instance is healthy.

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer, which covers future MariaDB or MySQL release moves.
  • Retainer work can include tracking SuiteCRM minor release notes and compatibility matrix changes that affect the database version in use.
  • Post-change support is scoped in writing, so questions after handover have a defined owner, response route and contact path agreed up front.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.