Updated

Technology · Servers & delivery

MySQL

mysql.com

What is MySQL?

MySQL is an open source relational database management system that stores and manages data in tables of rows and columns, using SQL. It is released under the GNU General Public License, with a commercial license available.[1]

MySQL is an open-source relational database management system (RDBMS) that uses Structured Query Language (SQL). It's widely used for web applications and online transaction processing. MySQL offers features like multi-layered server design, distinct storage engines, and replication support. Its speed, reliability, and ease of use make it popular among developers and organizations of all sizes. MySQL's compatibility with various programming languages and platforms contributes to its widespread adoption in web development and enterprise applications.

MySQL belongs toDatabasescategory.

Type

Relational database management system[1]

Query language

SQL[1]

Transactions

Full ACID transactions[1]

License

GNU GPL, or a commercial license[1]

468websites

use it — 18.4% of the 2,539 websites we scanned in the last 12 months

#1of 6

tools in its category seen in our scans (we recognize 18)

217public pages

on UptimeCard — open any of them to see how that site is doing

In short: a database for data that fits tables and relations. Check the license if you embed it in a commercial product.[1]

24% of all websites we track run MySQL

What is MySQL used for?

In short, from the websites we scan

Storing website data
Rows and columns hold content, orders, accounts and other records a site needs.[1]
Searching and updating records
SQL queries add, search, analyze and retrieve data.[1]
Reliable changes to data
ACID transactions keep modifications consistent, even after a system failure.[1]
What it does
MySQL is one of the databases tools websites use. In our scans it is #1 of the 6 we see.
Products
The vendor also offers MySQL Enterprise Edition, InnoDB Cluster.
On real websites
Among 60 public websites we scan that use it: storing WordPress content (51 sites), storing user and customer data (9 sites), storing application data (3 sites), storing shop order data (2 sites), storing lead form data (2 sites). Counted automatically from a short description of each site (one site can do several jobs), so read it as an estimate.
Who uses it
Compared with all public websites we scan, it is more common in Educational Resources (8% of its sites, 5% overall).
Used together with
It is often installed next to Yoast SEO, Nginx, reCAPTCHA.

Should you use MySQL?

The 10-second version, from the vendor’s own pages and what we see in our scans

MySQL fits if…

  • Your data is structured and you want a relational database that is free to use[1]
Embedding MySQL in a commercial application may call for a commercial license instead of the GPL[1]

MySQL next to MariaDB and PostgreSQL

All three are open source relational databases. Wording comes from each project's own pages.

MySQLMariaDBPostgreSQL
What each one says
Described asOpen source database[4]Database servermade by the original MySQL developers[2]Object-relational databaseuses and extends SQL[3]
Release modelInnovation and LTS[4]Not stated on the pages readNot stated on the pages read
LicenseNot stated on the pages readGPLv2free and open source[2]Not stated on the pages read
What we see in our scans
Websites running it46818.4% of 2,539 scanned sites502% of 2,539 scanned sites2too few to compare
Typical page load time3.7 s✓209 public sites5.4 s35 public sites—
Typical page weight3.6 MB✓typical home page4.8 MBtypical home page—
Security grade B or better38%✓21 of 56 graded sites score B or better33%3 of 9 graded sites score B or better—
  • MariaDB: A database server made by the original developers of MySQL, designed as a drop-in replacement[2]
  • PostgreSQL: An open source object-relational database system that uses and extends SQL[3]

Choose MySQL if…

  • You want the database whose manual separates Innovation and LTS releases[4]

Choose MariaDB if…

  • You want a drop-in replacement for MySQL licensed under GPLv2[2]

Choose PostgreSQL if…

  • You want an object-relational database that extends the SQL language[3]

Products

Named in the MySQL 8.4 manual

MySQL

This page

The open source database[4]

MySQL Enterprise Edition

Listed in the manual's navigation[4]

InnoDB Cluster

Listed in the manual's navigation[4]

Support and help for MySQL

How the vendor says you can reach it, and the public help community

Stack Overflow

656,953 questions[7][8]

71% have an upvoted answer. [mysql] questions

What MySQL sites add on top

How many of the 468 MySQL sites we scanned also run each tool, grouped by what the tool does

Tag manager

Google Tag Manager
70%329 sites

Analytics

Google Analytics
69%323 sites
Linkedin Insight Tag
22%103 sites
Facebook Pixel
19%88 sites

Search visibility

Yoast SEO
49%227 sites
Yoast SEO Premium
16%73 sites
RankMath SEO
12%58 sites

Page builder

Elementor
24%112 sites

Speed and caching

WP Rocket
17%80 sites

Marketing

HubSpot
15%72 sites

Cookie consent

OneTrust
14%67 sites

The full bar means every MySQL site. A site can run several tools for one job, so the shares of tools in one group can add up to more than 100%.

How MySQL sites protect themselves

Share of the 468 sites we scanned that run each protection

HSTS54% · 254 sites

HTTP Strict Transport Security (HSTS) informs browsers that the site should only be accessed using HTTPS

reCAPTCHA28% · 129 sites

reCAPTCHA is a free service from Google that helps protect websites from spam and abuse

Cloudflare Bot Management12% · 55 sites

Cloudflare bot management solution identifies and mitigates automated traffic to protect websites from bad bots

Protections add up, they do not replace each other: a site can run all of them.

What sites use MySQL for

An estimate from UptimeCard's technology map of 183 public sites

Runs the whole site160 sites

2600hz.com · abeta.co.uk · accredible.com

Runs a shop or catalog10 sites

heap.io · ionos.cloud · klaviyo.com

Runs the marketing site9 sites

adereso.ai · impact.com · multivende.com

Publishes a blog or resources4 sites

kentik.com · modernloop.io · spreedly.com

Rough guide, not a measurement: each description is written automatically from the site’s technology stack and the site has not confirmed it. A site is counted once, in the first group its description fits (shop, help and docs, blog, marketing site; otherwise the whole site). Descriptions that only guess (“likely”, “may”) are left out.

The speed trap: what fast MySQL sites do differently

209 public MySQL sites we measured, split by how fast their page loads

Fastest quarter

2.3 stypical page load time

2.2 MB page · 99 requests

Slowest quarter

7.4 stypical page load time

5.3 MB page · 165 requests

What differs between the two groups

Extras on the site
jQuery46%65%
OneTrust10%29%
Font Awesome2%19%
WP Rocket23%8%
Google Font API10%23%
Swiper8%21%
Read this as a pattern, not a cause. The sites in the slower group more often add the extras above. MySQL itself is not what separates the two groups.

At a glance

UptimeCard's own scans and tests of 2,539 websites · refreshed weekly

How MySQL sites scoreout of 100 · hover or tap a score for details

50PerformanceLowaverage site: 5190AccessibilityGoodaverage site: 9196Best practicesGoodaverage site: 9692SEOGoodaverage site: 92

Page load time

Loads about as fast as the average site

MySQL sites
3.7 s
All sites
3.5 s

Most MySQL sites load in 2.6–5.5 s. Home page weight: 3.6 MB vs 3.4 MB for all sites. 209 public sites measured.

Where are they hosted?

Mostly Amazon Web Services and Cloudflare

  • Amazon Web Services23%
  • Cloudflare21%
  • Fastly10%
  • Google Cloud5%
  • Other42%
United States 45%Canada 27%Germany 6%

Who uses it?

Educational Resources sites use MySQL 1.6× more than average

Technology and Software59%
Business Services1.3× avg16%
Educational Resources1.6× avg8%
Software as a Service (SaaS)3%

Share of 217 classified public sites. “× average” compares with all 961 public sites.

Browser-security check

38% of graded sites pass

21of 56 score B or better

Rates each site’s own security settings, not MySQL. 56 public sites graded so far.

How MySQL sites are built

Closest partners. The number says how many times more often the tool runs on MySQL sites than on an average website. Hover a partner for its share of sites.

Yoast SEO5×Elementor5×WP Rocket5×Yoast SEO Premium5×Contact Form 75×Site Kit5×RankMath SEO5×Twitter Emoji (Twemoji)5×jQuery UI3×

Stacks we see most. Tools that tend to run together with MySQL on the same websites. The percentage is the share of all 468 MySQL sites that run the whole stack.

12 stacks · swipe, drag or use the arrows
#1

MySQL + Yoast SEO + WP Rocket

9.2%43 of 468 sites
#2

MySQL + Yoast SEO + cdnjs

6.8%32 of 468 sites
#3

MySQL + Yoast SEO + Varnish + Fastly

5.1%24 of 468 sites
#4

MySQL + Yoast SEO + WordPress Block Editor

5.8%27 of 468 sites
#5

MySQL + Elementor + WP Rocket

5.1%24 of 468 sites
#6

MySQL + Elementor + Contact Form 7 + Site Kit

2.8%13 of 468 sites
#7

MySQL + WP Rocket + RankMath SEO

3.4%16 of 468 sites
#8

MySQL + Elementor + Astra

3.4%16 of 468 sites
#9

MySQL + cdnjs + Contact Form 7

3%14 of 468 sites
#10

MySQL + Elementor + RankMath SEO + Hello Elementor

2.1%10 of 468 sites
#11

MySQL + WordPress Block Editor + Max Mega Menu

2.6%12 of 468 sites
#12

MySQL + cdnjs + jQuery CDN

2.1%10 of 468 sites

Similar tools in its category

Databases: 18 tools known, 6 seen in our scans

How websites combine MySQL with other tools

Relationships found on the websites that use it, from the same map status pages show.

Needs another tool 140Overlaps with another 20Built on a platform 18Complements another tool 11Integrates with another 1

Websites using MySQL

468 websites use MySQL: 18.4% of the 2,539 websites we scanned in the last 12 months. A selection is shown below.

Scores are out of 100: P Performance · A Accessibility · B Best practices · S SEO. Green 80+, yellow 65–79, orange 50–64, red below 50. The dot shows whether our last scan found the site failing (red) or not (green); Red, amber or blue: an active incident on the site's status page (outage, degraded, maintenance) or a failing scan; amber also means a certificate ending within 30 days. Hover the dot for details.

Who is behind MySQL

From its own pages and public records, with sources

Its story

  1. 1995

    MySQL was first released as an open source relational database management system.[9]

  2. 2001

    MySQL AB, the company behind MySQL, was established.[10]

  3. 2024

    MySQL 8.4.0 was released, in a release model that separates Innovation and LTS releases.[6][4]

Questions about MySQL

What is MySQL?
MySQL is an open source relational database management system that stores and manages data in tables of rows and columns, using SQL. It is released under the GNU General Public License, with a commercial license available.
What is MySQL used for?
Rows and columns hold content, orders, accounts and other records a site needs. SQL queries add, search, analyze and retrieve data. ACID transactions keep modifications consistent, even after a system failure. MySQL is one of the databases tools websites use. In our scans it is #1 of the 6 we see. The vendor also offers MySQL Enterprise Edition, InnoDB Cluster. Among 60 public websites we scan that use it: storing WordPress content (51 sites), storing user and customer data (9 sites), storing application data (3 sites), storing shop order data (2 sites), storing lead form data (2 sites). Counted automatically from a short description of each site (one site can do several jobs), so read it as an estimate. Compared with all public websites we scan, it is more common in Educational Resources (8% of its sites, 5% overall). It is often installed next to Yoast SEO, Nginx, reCAPTCHA.
Is MySQL free?
Yes for use under the GNU General Public License. A commercially licensed version can be bought.[1]
Who makes MySQL?
The MySQL team at Oracle.[5]
What are Innovation and LTS releases?
The MySQL manual groups releases as Innovation and LTS; its release notes document 8.4.0 in that model.[4][6]
Is MariaDB a replacement for MySQL?
MariaDB describes itself as originally designed as an enhanced, drop-in replacement for MySQL.[2]
Which storage engine does MySQL document?
The manual documents the InnoDB storage engine, along with InnoDB Cluster and InnoDB ReplicaSet.[4]
How many websites use MySQL?
We found MySQL on 468 of the 2,539 websites we scanned in the last 12 months (18.4%). 217 of them have a public status page.
What are the alternatives to MySQL?
Other databases tools we recognize include MariaDB, Firebase, Redis, PostgreSQL.

Is your website built with MySQL?

Create a free status page that shows your visitors your site is up. It also gives your site its own public page where new people can discover it.

Example status page card