History of MySQL
Discover how MySQL was created, how it got its name, and how it evolved from a small Swedish project into one of the world's most popular databases.
Introduction
MySQL did not appear overnight inside a large corporation β it began as a small project built by two developers who needed a fast, reliable database of their own. Understanding where MySQL came from helps explain many of its design choices, and why it looks the way it does today.
In this lesson, you will trace MySQL's journey from its creation in the mid-1990s, through two major corporate acquisitions, to its position today as one of the most widely deployed databases on the internet.
- Who created MySQL, and when it was first released.
- Where the name "MySQL" actually comes from.
- How MySQL grew as an open-source project.
- Why Sun Microsystems and later Oracle acquired MySQL.
- What MariaDB is and why it exists.
- The major version milestones that shaped modern MySQL.
The Birth of MySQL
MySQL was created by two Swedish developers, Michael "Monty" Widenius and David Axmark. They were working on database applications and needed something faster and simpler than the tools available at the time, so they built their own database engine.
The first version of MySQL was released in 1995. It was developed by a company called MySQL AB, founded in Sweden, and was designed from the start to be fast, reliable, and easy to use for web-style workloads β reading and writing large numbers of relatively simple records.
Michael Widenius
Co-creator of MySQL, and later the founder of the MariaDB fork.
David Axmark
Co-creator of MySQL, working alongside Widenius from the very beginning.
First Released
MySQL 1.0 was first released to the public in 1995.
πΈπͺ MySQL AB
The Swedish company originally founded to develop and support MySQL.
Where the Name Comes From
One of the most commonly asked questions about MySQL is where its name comes from. It is not an acronym in the way many people assume.
MySQL is named after Michael Widenius's daughter, "My." Combined with "SQL," the query language the database speaks, that gives us the name "MySQL."
This personal touch is easy to forget once you are deep into writing queries, but it is a nice reminder that MySQL began as a small, human project rather than a corporate product designed by committee.
Early Growth as Open Source
From early on, MySQL was distributed as open-source software, meaning its source code was publicly available and free to use. This was a major reason for its rapid adoption during the late 1990s and early 2000s.
As the web grew explosively during this period, developers needed a database that was free, fast, and simple to set up. MySQL fit that need perfectly, and it became a core part of the "LAMP stack" β Linux, Apache, MySQL, and PHP β which powered a huge share of the early web.
Free to Use
No license fees, which made it accessible to hobbyists, startups, and enterprises alike.
Open Source Code
Developers could inspect, modify, and contribute to the database engine itself.
LAMP Stack
MySQL became the "M" in LAMP, one of the most popular web development stacks ever created.
Rapid Adoption
Thousands of websites and applications adopted MySQL as the web scaled up.
Acquired by Sun Microsystems
By the mid-2000s, MySQL AB had grown into a serious company with a widely used product. In 2008, Sun Microsystems β a major hardware and software company β acquired MySQL AB for roughly one billion US dollars.
Under Sun, MySQL continued to be developed and released as open-source software, and the acquisition brought additional engineering resources to the project. However, this was only the first of two acquisitions MySQL would go through in just a few years.
Oracle and the Rise of MariaDB
In 2010, Oracle Corporation β itself a major database vendor β acquired Sun Microsystems, and with it, MySQL. This raised concerns across parts of the open-source community: Oracle was now the steward of one of its biggest commercial database competitor's open-source rivals.
In response to these concerns, Michael Widenius, one of MySQL's original creators, started a new project called MariaDB. MariaDB is a "fork" of MySQL β a new database built from MySQL's original source code, developed independently as a fully open-source alternative.
A "fork" happens when developers take an existing open-source project's code and continue developing it independently, under a new name. MariaDB remains closely compatible with MySQL to this day, which is why many tools and applications work with either one.
Despite the fork, MySQL itself has continued to be actively developed by Oracle, remaining free and open-source under the same licensing model, and continuing to receive major feature updates.
Major Version Milestones
MySQL has gone through many versions over the decades, but a few releases stand out as turning points in its capabilities.
| Version | Notable Additions |
|---|---|
| MySQL 3.x / 4.x | Early growth years; core relational engine and basic SQL support. |
| MySQL 5.0 | Stored procedures, views, and triggers β bringing MySQL closer to enterprise databases. |
| MySQL 5.5 | InnoDB became the default storage engine, improving reliability and transaction support. |
| MySQL 5.6 / 5.7 | Performance improvements, JSON data type support (5.7), and better replication. |
| MySQL 8.0 | Window functions, Common Table Expressions (CTEs), major JSON improvements, and roles. |
MySQL 5.x, especially 5.6 and 5.7, was widely adopted across the industry for many years and still runs on countless production systems. MySQL 8.0 modernized the language significantly, adding features that make complex queries β like ranking rows or writing recursive queries β much easier to express.
MySQL Today
Today, MySQL remains one of the most popular database systems in the world, consistently ranking among the top few databases in independent industry surveys, alongside Oracle Database and Microsoft SQL Server.
Powers WordPress
WordPress, used by a huge share of all websites, runs on MySQL (or MariaDB) by default.
Massive Install Base
MySQL is installed on servers, laptops, and cloud platforms all over the world.
Cloud-Native Support
All major cloud providers offer managed MySQL database services.
Still Actively Developed
Oracle continues to release new MySQL versions with modern SQL features.
Common Mistakes
- Thinking MySQL is owned by the same company that created it β it has changed ownership twice (Sun, then Oracle).
- Confusing MySQL and MariaDB as the exact same product β they diverged after 2010 and are no longer identical.
- Assuming MySQL is a purely community project with no company behind it β Oracle actively develops and maintains it.
- Believing "MySQL" is an acronym β it is actually named after Michael Widenius's daughter, "My."
Best Practices
- Know which MySQL version you are using, since features like window functions require MySQL 8.0+.
- Read release notes when upgrading, since behavior can change between major versions.
- Understand that MariaDB is a separate but related project if you ever work with it.
- Keep an eye on official MySQL documentation, which is updated as Oracle continues development.
Frequently Asked Questions
Who currently owns MySQL?
Oracle Corporation owns and actively develops MySQL, following its acquisition of Sun Microsystems in 2010.
Is MariaDB the same as MySQL?
No. MariaDB is a separate, independently developed fork of MySQL created after the Oracle acquisition. It started very similar to MySQL but has since developed its own features.
Why does MySQL 8.0 matter so much?
MySQL 8.0 introduced window functions, Common Table Expressions (CTEs), and major JSON improvements, making many advanced queries far easier to write than in earlier versions.
Is MySQL still free?
Yes. MySQL Community Edition remains free and open-source. Oracle also sells paid enterprise editions with additional support and features.
Why is MySQL named after a person's name?
Its creator, Michael Widenius, named it after his daughter "My," combined with "SQL" for the query language it uses.
Key Takeaways
- MySQL was created by Michael Widenius and David Axmark and first released in 1995.
- The name comes from Widenius's daughter "My," combined with "SQL."
- Sun Microsystems acquired MySQL AB in 2008; Oracle then acquired Sun (and MySQL) in 2010.
- MariaDB was created as an open-source fork of MySQL in response to the Oracle acquisition.
- MySQL 5.x saw huge adoption, while MySQL 8.0 modernized the language with window functions, CTEs, and JSON improvements.
- MySQL remains one of the most widely used databases in the world today, powering WordPress and countless other applications.
Summary
MySQL began in 1995 as a small open-source project by two Swedish developers and grew into one of the most important databases in computing history, surviving two corporate acquisitions along the way.
In this lesson, you learned who created MySQL, where its name comes from, how it changed hands from MySQL AB to Sun to Oracle, why MariaDB exists, and the version milestones that shaped the MySQL you will be learning in this course. Next, you will look at why MySQL is such a popular choice for developers today.
- You know who created MySQL and when.
- You understand the Sun and Oracle acquisitions.
- You know what MariaDB is and why it exists.
- You are ready to explore why developers choose MySQL.