MongoDB Atlas vs MySQL for PCI DSS

For a team that must bring a database into PCI DSS scope, Atlas fits when it wants MongoDB's PCI service provider validation and an Attestation of Compliance on request. Self-hosted MySQL fits when the team can configure, operate and evidence the database inside its own cardholder data environment.

On this page

MongoDB Atlas vs MySQL for PCI DSS: which side fits your cardholder data environment

MongoDB Atlas fits when your organization wants to rely on MongoDB's own PCI service provider validation under PCI DSS 4.0.1, which MongoDB's PCI DSS page says it achieved as of May 2026, with the Attestation of Compliance available on request. Self-hosted MySQL fits when your team can configure, operate and evidence the database itself, because no Attestation of Compliance applies to the community server, which is software you run. This page covers only the PCI DSS angle. The general comparison has its own page and is not restated here. The decision turns on where the database sits in your cardholder data environment and who carries each control.

Start by drawing the boundary. MongoDB's PCI DSS page lists Atlas, App Services, Charts, Serverless, Cloud Manager, Data Federation, Search and Atlas for Government as in scope, and it excludes beta and preview features. If any service you plan to use is missing from that list, the provider's validation does not cover it. Ask MongoDB for the current Attestation of Compliance and its responsibility matrix, and confirm which Atlas tiers, regions and features that scope statement covers. Then map every requirement the matrix assigns to you, such as access control for your administrators, logging of your own users, key handling for application connections and retention of your evidence. A managed service reduces what your team operates, but your own assessment still covers how your applications and staff use it.

With self-hosted MySQL, the evidence is yours to create. The MySQL 8.4 manual documents TLS encrypted connections, require_secure_transport to refuse unencrypted TCP clients and per-account REQUIRE X509, which support your encryption in transit controls. Your team must set these, prove them with configuration exports and connection tests, and document encryption at rest with InnoDB data encryption, account roles and multifactor authentication. Confirm which audit logging is available in the edition you choose. Before an assessor arrives, run an internal check: confirm require_secure_transport is ON with SHOW VARIABLES LIKE 'require_secure_transport', review each account's grants, and keep a patch record for the release you run. The cost is mainly staff time and recurring operations work, and no vendor attestation offsets it.

Four decisions that settle the choice for PCI DSS

These four questions decide the choice before any feature comparison starts. Each one changes who carries the PCI DSS controls and which evidence the assessor will request from your team.

Does the database store cardholder data?

If the database holds primary account numbers, it sits inside the cardholder data environment and every applicable control covers it. If it only supports systems that handle card data, such as session stores or reporting copies, the scope is narrower but still reachable from the CDE, so the assessor will trace network paths and access. Ask your QSA to confirm the data flows and which system components count as in scope before comparing the two platforms.

PCI DSS standard

Which Atlas tier and services?

MongoDB's PCI DSS page lists Atlas, App Services, Charts, Serverless, Cloud Manager, Data Federation, Search and Atlas for Government as in scope, and it excludes beta and preview features. MongoDB's pricing page lists Atlas Free (M0, 512 MB) and Flex (from $0.011 per hour, up to $30 a month), so check both tiers against that list before relying on them. Confirm the exact tier, region and each service you would enable, and get the assessor to accept that scope in writing.

MongoDB PCI DSS page

In-house patching, backup and logging

No Attestation of Compliance applies to the community server, so your own team produces the evidence for patching, backups, log review and access control. With self-hosted MySQL 8.4, you set the TLS policy (including require_secure_transport and per-account REQUIRE X509), configure the audit log and run restore tests. With Atlas, the provider operates the platform, but your team still configures users, network access and retention, and must show that restores work. Estimate who can staff that work for the life of the system.

Atlas restore overview

Whether the assessor accepts the AoC

MongoDB states that it has been validated as a PCI service provider and achieved PCI DSS 4.0.1 as of May 2026, with its Attestation of Compliance available on request. The page names Coalfire and Schellman as QSAs, but your assessor decides whether a provider AoC covers the controls you inherit. Ask them to map each inherited requirement to the provider's responsibility split and to state what evidence they still need from your side.

MongoDB Trust Center

What PCI DSS v4.0.1 asks of a database in scope

PCI DSS v4.0.1 is the only active version of the standard, so a database assessment that starts now should be scoped against it. The PCI Security Standards Council published v4.0.1 on 11 June 2024 as a limited revision of v4.0 with no requirements added or deleted. v4.0 retired on 31 December 2024, and v3.2.1 retired on 31 March 2024. The standard applies to entities that store, process or transmit cardholder data or sensitive authentication data, and to entities that could affect the security of the cardholder data environment, including merchants, processors, acquirers, issuers and service providers. A database is in scope when it holds card data, passes it along, or can influence the security of systems that do. Of the 64 new requirements introduced in v4.0, 51 became effective on 31 March 2025, so any future-dated item you marked not applicable during 2024 now needs evidence. Start from the PCI SSC standard page.

The database-relevant areas fall into six groups. Protecting stored account data covers encryption at rest, key management, and limits on what the database retains. Strong cryptography for data in transit covers client connections, replication links and backup transfers. Access control and authentication cover which accounts, roles and multifactor methods can reach the data. Logging and monitoring covers audit trails for administrative actions and data access. Testing covers vulnerability scanning and penetration testing of the platform and its configuration. Management of third-party service providers covers the contracts, responsibility split and evidence you collect from a hosted provider. Confirm the requirement numbers in your own copy of the standard, because the assessor will cite that numbering. The organization being assessed carries the obligation, and a provider's attestation covers the provider's side of the service, not your configuration of it.

For MongoDB Atlas, MongoDB states that MongoDB Cloud has been validated as a PCI service provider and achieved PCI DSS 4.0.1 as of May 2026, with the Attestation of Compliance available on request. Its PCI page lists Atlas among the in-scope services and excludes beta and preview features. Request that attestation, confirm that every Atlas feature you use is in its scope, and record your own responsibility for cluster settings, IP access lists, database users and encryption choices. For MySQL 8.4, TLS encrypted connections, require_secure_transport and per-account REQUIRE X509 support the encryption in transit requirements. No Attestation of Compliance applies to MySQL Community Server, because it is software you run, so the assessment of the server, its hosts, backups and access processes falls to you. Agree with your assessor which evidence they accept for each side before you choose.

How Atlas and MySQL each meet PCI DSS database controls as documented

This table sets out, row by row, what MongoDB's public documentation covers for Atlas under PCI DSS and what the MySQL 8.4 manual documents for a database you run yourself. Read the Atlas column as a list of pages to check, since scope and responsibility details sit in those pages and in the contract. The main takeaway: Atlas has a provider attestation available on request, while community MySQL has none, so your own controls and evidence still carry much of the assessment.

Requirement areaMongoDB Atlas, as documentedMySQL 8.4, self-built
Service provider validationValidated as a PCI service provider; PCI DSS 4.0.1 as of May 2026. Confirm your features on the PCI DSS page scope list.No attestation applies to community server, so your own assessment covers it. Confirm scope with your assessor.
Encryption in transitCheck the Architecture Center compliance page for how connections are encrypted and enforced.Encrypted connections over TLS; require_secure_transport refuses unencrypted TCP clients; per-account REQUIRE X509 for client certificates.
Encryption at restConfirm at-rest encryption, key management and who holds the keys with MongoDB, in writing.InnoDB data encryption applies to InnoDB tablespaces; confirm keyring setup, key rotation and backup handling in your build.
Authentication and access rolesConfirm authentication options and role model on the Atlas compliance and Trust Center pages.Roles and multifactor authentication are documented in MySQL 8.4; confirm which MFA and role settings your build uses.
Audit loggingUse the Atlas database auditing page to confirm captured events, filters and log retention.The audit log page sets out the feature; confirm your edition includes it, which events it records and where logs are sent.
Data location and contract termsReview the Data Processing Agreement and confirm hosting regions and data residency with MongoDB before signing.Location is wherever you deploy it, so residency and its evidence are yours to produce.
Backup and restoreCheck the Atlas restore overview for options, then confirm retention periods with MongoDB.Backup method is your choice; confirm restore testing and retention with your DBA team and assessor.

Who carries which PCI DSS control on each side

The two sides split PCI DSS database controls differently. With MongoDB Atlas, the vendor's validated service covers the in-scope Atlas services, while your team still owns configuration and evidence. With self-hosted MySQL, no vendor attestation applies, so every database control maps to your own cardholder data environment.

MongoDB Atlas: what MongoDB covers

MongoDB states that MongoDB Cloud has been validated as a PCI service provider and achieved PCI DSS 4.0.1 as of May 2026. Its PCI DSS page names Coalfire and Schellman as QSAs and lists Atlas, App Services, Charts, Serverless, Cloud Manager, Data Federation, Search and Atlas for Government as in scope, excluding beta and preview features. Request the Attestation of Compliance and confirm that every service holding your cardholder data appears on that list, because anything outside it needs evidence of its own.

MongoDB PCI DSS page

MongoDB Atlas: what your team configures

Your team still decides which tier and services hold cardholder data, so the cardholder data environment boundary starts with that choice. It also configures network access, database users and roles, encryption settings, audit log review and backup restore tests. Ask MongoDB for the responsibility matrix that splits each item, then assign every line a named owner and a piece of evidence an assessor can read. Confirm the audit and restore behavior in the Atlas documentation before relying on it.

Atlas auditing docs

Self-hosted MySQL: no vendor attestation

The MySQL Community Server is software your organization runs on infrastructure it controls, so no PCI DSS Attestation of Compliance applies to it. There is no vendor report to request, and the assessor will look at your own configuration instead. For encryption in transit, that means TLS encrypted connections, require_secure_transport to refuse unencrypted TCP clients and per-account REQUIRE X509 on MySQL 8.4, each of which you must set and show working. Plan for the absence of a vendor attestation as extra evidence work for your own team.

MySQL 8.4 TLS docs

Self-hosted MySQL: what your team owns

Your team owns host hardening, patching, TLS and account settings, audit logs, backups and the cardholder data environment boundary around the database. Choose the LTS track deliberately: LTS series get 5 years of premier and 3 years of extended support under Oracle's Lifetime Support Policy, while Innovation releases such as 26.7.0 are supported only until the next Innovation release. Patch within the track you chose, and keep the MySQL version, host baseline and backup test records together for the assessor. Confirm audit log retention against your own review cycle before go-live.

MySQL audit log docs

Which trust boundary does cardholder data cross in each option?

The diagram starts with the in-scope application, which connects to its database over an encrypted connection. That connection is the hop where encryption settings are evidenced. On the MySQL side, the evidence comes from the server configuration, including TLS settings, require_secure_transport and per-account REQUIRE X509. On the Atlas branch, the boundary covers only the MongoDB Cloud services the team confirms are in scope, and the team checks that list against the Attestation of Compliance (AOC), which MongoDB makes available on request. On the MySQL branch, the server, its host, its backups and its admin paths all sit inside the organization's cardholder data environment, and the organization carries that scope itself.

Each branch sits inside its own trust boundary group, with the connection hop as the evidence point.

How licensing, editions and LTS tracks change the evidence you can show

The license a database ships under decides which evidence you can request from the vendor, so check it before the assessment starts. MongoDB server and tools released after October 16, 2018 are licensed under the Server Side Public License v1.0, which is not OSI-approved, while earlier releases are under AGPL v3.0 (MongoDB's licensing page). If you self-manage MongoDB, the vendor-supported route is Enterprise Advanced, which bundles Enterprise Server, Ops Manager, the Kubernetes Operator and consultative support, and is priced through sales. Its support terms belong in your evidence folder, because they define who handles security fixes for the build you run. Atlas places that responsibility with MongoDB, which holds a PCI DSS Attestation of Compliance for listed in-scope services. Confirm whether your self-managed build carries the support terms your review needs.

MySQL Community Edition is freely downloadable under the GPL, and the assurance around it is yours to build. Its release tracks are LTS and Innovation. The MySQL Community Server download page currently offers 26.7.0 (Innovation), 9.7.2 LTS, 8.4.11 LTS and 8.0.46. LTS releases receive 5 years of premier support and 3 years of extended support under Oracle's Lifetime Support Policy. Innovation releases are supported only until the next Innovation release, so an Innovation build can leave support in the middle of a PCI assessment cycle. Features are added or removed only in the first release of an LTS series, such as 8.4.0, and later point releases carry only necessary fixes, which keeps the feature set stable for your controls. No PCI DSS Attestation of Compliance applies to the community server, so your patch record, version inventory and support dates are the evidence an assessor will review.

Choose a track whose support window covers the full assessment cycle plus the time you need to apply a patch after it ends, and write that end date into your change calendar. Ask Oracle which features each MySQL edition provides before you design any control around them, and get the answer in writing. The MySQL 8.4 manual documents the audit log, encrypted connections, multifactor authentication and roles, but whether a given feature sits in the community build or a paid edition is a question for Oracle. For Atlas, ask MongoDB which in-scope services your deployment uses, since the PCI scope excludes beta and preview features. Keep the running version, the support end date, the check date and the owner of each upgrade decision in one document, so the assessor sees a maintained process.

The PCI DSS evidence an assessor asks for, by side

On the Atlas side, most of the provider-side evidence already exists and comes from MongoDB. MongoDB's PCI DSS page says MongoDB Cloud has been validated as a PCI service provider and achieved PCI DSS 4.0.1 as of May 2026, with the Attestation of Compliance available on request. The page names Coalfire and Schellman as QSAs, so confirm with MongoDB which firm's work the AOC you receive reflects. Your own team still has to show how your cardholder data environment uses the service.

  • Attestation of Compliance and QSA: request the current AOC, then check its date, the PCI DSS version it names, the services it covers and the QSA that signed it.
  • In-scope service list: the page lists Atlas, App Services, Charts, Serverless, Cloud Manager, Data Federation, Search and Atlas for Government, and excludes beta and preview features. Map the services you use to that list and flag anything outside it.
  • Trust Center and Data Processing Agreement: the MongoDB Trust Center and the Data Processing Agreement give your assessor and privacy team supporting documents for review.
  • Database auditing output: Atlas database auditing produces the records an assessor will sample. Confirm which events are captured, where they are stored, and how your team exports and reviews them.
  • Responsibility matrix: request a matrix from MongoDB that shows which PCI DSS requirements the provider covers and which remain with your team, such as user access and application-level controls.

Check that the AOC scope covers every service and region you use, and that the responsibility matrix leaves no requirement without a named owner.

Configuring the chosen database for PCI DSS scope

This sequence sets the database scope, boundary, encryption, access, logging, recovery and evidence that a QSA will sample. Each step produces a file or record, so the assessor can trace every claim about the database back to a configured setting and a test result.

  1. Confirm Atlas services and tier in scope

    The compliance lead lists each database tier, service and feature the team plans to use, then checks them against MongoDB's PCI DSS page, which names the in-scope Atlas services and excludes beta and preview features. Confirm whether the chosen tier falls under that scope statement, then request the Attestation of Compliance from MongoDB. For MySQL, no attestation applies to the community server, so the organization's own assessment must cover the database host and its configuration. Done when the scope note and the requested attestation are filed together.

  2. Map cardholder data flows and draw the boundary

    The application owner traces every path that carries cardholder data or sensitive authentication data, from payment entry points through services to the database, backups, logs and admin access. The output is a data-flow diagram and a cardholder data environment boundary diagram that mark each system inside it. Include systems that touch the database without storing card data, because systems that could affect the cardholder data environment also fall under PCI DSS. Review the diagrams with the QSA before configuration begins.

  3. Enforce encrypted connections on every database

    On MySQL, the platform engineer enables TLS for client connections, sets require_secure_transport so unencrypted TCP clients are refused, and assigns REQUIRE X509 to accounts that need certificate authentication, following the MySQL 8.4 encrypted connections manual. On Atlas, the engineer confirms in MongoDB's documentation how TLS is enforced for each cluster and connection type, and does not assume a default. Test both sides with a deliberate plaintext connection and an untrusted certificate. The output is the saved configuration, the account list showing certificate settings and a test log of refused connections.

  4. Set accounts, roles and multifactor authentication

    The database administrator removes shared and default accounts and grants each user a role that matches a documented job function. On MySQL, use MySQL 8.4 roles and enable multifactor authentication for the accounts that need it, following the MySQL multifactor authentication manual. On Atlas, configure access controls and project roles in line with MongoDB's documentation, and confirm which administrative actions require multifactor authentication. Export the account and role inventory and record who approved each grant. Done when every privileged account has an owner, a role and a recorded multifactor status.

  5. Agree audit logging and retention with the assessor

    The compliance lead writes a logging specification with the assessor covering which database events are captured, where logs are stored, who can read or change them and how long they are kept. On MySQL, the team uses the audit log described in the MySQL 8.4 manual and confirms it is available in the edition in use. On Atlas, it reviews Atlas database auditing and confirms which events can be captured for the tier in use. The retention period is set by the assessor and the organization's policy, and the spec records the agreed period and who approved it. Output: the signed specification and a sample log extract from each database.

  6. Test backup and restore with the selected tools

    The operations lead chooses the backup and restore tools and records why each was selected. For Atlas, the team reviews MongoDB's restore documentation and, if it uses mongodump for exports, confirms the output is written to encrypted storage inside the defined scope. For MySQL, the team names its backup tool and confirms the backup target sits inside the boundary. Run a full restore into an isolated environment, compare record counts or checksums against the source, and confirm access to backup copies is limited to the same roles. Output: a restore test record showing the operator, the result and the approval.

  7. Write the responsibility matrix and evidence index

    The compliance lead writes a responsibility matrix that assigns each PCI DSS requirement touching the database to MongoDB, the internal team or a named third party. MongoDB's side is evidenced by the Attestation of Compliance for the in-scope services, while the organization owns its configuration, accounts, multifactor authentication, logging, backups and any MySQL host it runs. Confirm in writing with MongoDB which responsibilities its attestation covers. The evidence index links each control to a file, an owner and a storage location, so a new reviewer can follow it without a verbal explanation.

  8. Walk the QSA through the package before assessment

    Before fieldwork starts, the team walks the QSA through the scope note, boundary diagrams, configuration evidence, account inventory, logging specification, restore test record and responsibility matrix. Each gap found in the walkthrough gets an owner and a fix before the assessor begins sampling. The walkthrough does not replace the assessment: the QSA decides what is compliant, while DeployOpen prepares systems, controls and evidence but does not issue reports or certifications. Output: a walkthrough record listing questions asked, gaps logged and the evidence set the assessor agreed to sample.

Questions to answer before hiring help for PCI DSS database work

How much effort does PCI DSS database work take?

The effort depends mostly on how many systems are in scope, what logging and access tooling already exists, and whether the cardholder data environment is documented. A team with a current data flow diagram, central log collection and named database accounts starts further along than a team that must first find where cardholder data is stored. Size these three drivers before you ask for a quote:

  • The number of database instances, replicas and backups that store, process or transmit cardholder data, or that could affect its security.
  • Existing audit logging, log retention and access review tooling, and whether it covers the database layer.
  • Whether the cardholder data environment and its connections to other systems are already documented and tested.

Ask for a written list of tasks, owners and deliverables before work starts, because the agreed scope is what sets the effort.

Does an Atlas Attestation of Compliance remove our PCI DSS obligations?

No. MongoDB's PCI DSS page says MongoDB Cloud has been validated as a PCI service provider and achieved PCI DSS 4.0.1 as of May 2026, with the Attestation of Compliance available on request. That document covers the service MongoDB operates. Your organization still owns its own controls, including how it configures Atlas, manages user access, retains logs and handles keys. It also still has to manage its third-party service providers, confirm their responsibilities in writing and track their evidence. Ask your QSA which requirements the provider's attestation covers and which remain yours, and read MongoDB's PCI DSS page to see the scope it describes.

Can our own database team do PCI DSS work without outside help?

Yes, if the team has database operations skills, assessment skills and a written checklist that maps each task to an owner and to the evidence it produces. The work mixes hardening, access control, logging, backup and encryption configuration with documentation an assessor will read. The team therefore needs people who can run the database and people who can explain the controls to a QSA. Start with a checklist built from the requirements that apply to your environment, then record which system, which configuration and which log proves each control. The evidence step is often the part teams underestimate. An outside partner can help with the checklist, testing or evidence preparation, but the decision about what to do in-house stays with your team.

What does it cost to run MongoDB Atlas or MySQL for PCI DSS?

The software license is rarely the largest line item. MySQL Community is freely downloadable under the GPL, so its cost comes from the staff who operate it, the hosting, the support you choose and the assessor's fees. MongoDB's pricing page lists Atlas Flex from $0.011 per hour, up to $30 a month, and Dedicated from $0.08 per hour, starting at $56.94 a month. Those are the service's list prices, so Atlas costs recur with usage and tier. They exclude your staff time, your assessment and your evidence work. Ask for these items in any quote:

  • Staff time for configuration, logging, access reviews and evidence collection, with one-time and recurring work shown separately.
  • Hosting or managed service fees, including the tier, storage and region you need.
  • Assessor fees, which your QSA sets and which are separate from any implementation work.

DeployOpen publishes no price list. A quote follows from the written scope.

How long does a PCI DSS database project take?

No duration is published for this work, so the timeline depends on your scope and your assessment calendar. Ask for a timeline in the written scope that shows milestones, owners and the date each deliverable must reach your QSA. Confirm the assessment calendar with your QSA before you commit to dates, because the assessor's schedule can set the deadline as much as the technical work does. The main timeline drivers are the number of in-scope systems, how much of the cardholder data environment is already documented, how quickly your staff can approve access and changes, and whether database changes need a maintenance window. Ask the partner which milestones depend on your team, since approvals and log reviews often set the pace.

Does DeployOpen certify PCI DSS compliance for our database?

No. DeployOpen does not issue audit reports, attestations or certifications. It prepares systems, controls and evidence for a PCI DSS assessment, and an independent QSA assesses them and reaches the conclusion. For database work, that can include deploying and hardening the database, setting up access control, audit logging and backups, and assembling the evidence your assessor requests. Ask the partner to state in writing which deliverables are evidence preparation and which are assessment activities. Confirm with your QSA which evidence they accept and in what format before the work starts.

How DeployOpen prepares PCI DSS evidence for either database

DeployOpen works the same way on either database: it scopes the work in writing, builds and documents the controls the organization owns, and prepares the evidence an assessor will ask for. It does not issue audit reports or attestations: the organization's QSA assesses the environment, and for Atlas, MongoDB makes its Attestation of Compliance available on request.

How we scope

  • The written scope names which database deployments, hosts, application connections and data flows sit inside the cardholder data environment.
  • For Atlas, scope checks each service in use against MongoDB's published PCI DSS list.
  • Engagements are fixed-scope, with deliverables agreed in writing before work starts, and ongoing support is available as a retainer.

How we build

  • On MySQL, DeployOpen configures TLS, sets require_secure_transport and applies REQUIRE X509 to accounts that need it.
  • On MySQL, it configures audit logging, InnoDB encryption, roles and MFA only where the edition in use supports them.
  • For Atlas, the work covers the organization's network access, connection, identity and backup settings.

How we hand over

  • Handover includes written documentation of each configured control, mapped to the evidence the agreed scope lists.
  • The MySQL handover records versions in use, because no Attestation of Compliance covers software the organization runs.
  • For Atlas, the handover records MongoDB's PCI DSS 4.0.1 validation and the shared responsibilities the organization must confirm.

How we support

  • Retainers can cover ongoing support, upgrades and continuous testing, so evidence can be refreshed between assessments.
  • PCI DSS v4.0.1 is the only active version, so confirm each database version is still supported.
  • MySQL's LTS and Innovation tracks have different support windows, so confirm which track each environment runs.

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.