General
The History of MySQL: From a Swedish Startup to the Web's Workhorse
Trace the evolution of MySQL from its humble beginnings in the mid-90s to its role in the LAMP stack and its survival through the Oracle acquisition.
June 2026 · 5 min read · 3 views · 0 hearts
Advertisement
MySQL wasn’t born in a boardroom. It was carved out in the mid-1990s by a small Swedish company, TcX, run by two friends, David Axmark and Allan Larsson, with Michael “Monty” Widenius as the lead developer. They needed a fast, flexible database for their own in-house applications, but the existing options were either too slow, too expensive, or too complicated. So they built their own.
The original code was based on an even older engine called ISAM, which Monty had worked with at Unisoft. By 1995, they had mSQL — but it lacked crucial features like indexing. Fed up, Monty rewrote the whole thing from scratch. The result was MySQL 1.0, released in May 1995. It wasn't pretty, but it was fast.
The Open Source Gamble
In 1995, “open source” wasn’t the polished, VC-backed ecosystem it is today. It was still a hobbyist’s domain. But MySQL’s founders took a radical step: they released the source code under a license that allowed free use for most purposes, with a commercial license for anyone embedding it in proprietary software.
This dual-licensing model was clever. It let MySQL penetrate universities, small businesses, and personal projects without friction. By the early 2000s, MySQL was the go-to database for a new breed of web application — one that needed to serve pages fast and scale cheaply.
Why the Web Fell in Love
- Speed over features. MySQL wasn’t the most advanced database. No triggers. No stored procedures. No subqueries (until version 4.1 in 2004). But it was blazingly fast at simple SELECT and INSERT queries — exactly what early web apps needed.
- LAMP stack. The acronym LAMP — Linux, Apache, MySQL, PHP — became the default architecture for millions of websites. It was free, easy to set up, and ran on cheap shared hosting. Every PHP tutorial assumed MySQL.
- MyISAM simplicity. The default storage engine, MyISAM, was lightweight, easy to manage, and read-optimized. For blogs, forums, and content sites, it was near perfect. You could just copy the
.frm,.MYD, and.MYIfiles to back up your database.
The InnoDB Revolution
By 2001, MySQL had conquered the low end, but it had a dirty secret: MyISAM had no transaction support. If your server crashed mid-write, you could lose data. No foreign keys either. Real businesses needed ACID compliance.
Enter InnoDB, a storage engine developed by Finnish company Innobase Oy. It offered row-level locking, transactions, and foreign keys. MySQL 4.0 integrated it as a pluggable engine — a design that let users pick MyISAM for speed and InnoDB for reliability.
The turning point was 2005. eBay, Yahoo, and even Google began running MySQL at massive scale, mostly with InnoDB underneath. The database that started as a “toy” was now powering the world’s busiest websites.
The Oracle Takeover (and Survival)
In 2008, MySQL AB was acquired by Sun Microsystems for $1 billion. Then, in 2010, Sun was bought by Oracle — the company that owned the rival commercial database, Oracle Database. The community panicked. Oracle had a nasty habit of killing open source projects (OpenOffice? OpenSolaris?).
But MySQL survived — mostly because it was too big to kill. Oracle kept releasing versions, but tensions led to forks. The most famous is MariaDB, created by Monty Widenius himself in 2009. Today, MariaDB is a drop-in replacement used by Wikipedia, Google (in some places), and many Linux distributions.
Where MySQL Stands Today
MySQL is still the world’s most popular open source database, according to DB-Engines. But it’s no longer alone.
- PostgreSQL has eaten into its share with better JSON support, advanced indexing, and a more permissive license.
- NoSQL databases like MongoDB stole the web app crowd that didn’t need rigid schemas.
- Cloud-native databases like Amazon Aurora are built on MySQL’s protocol but run faster.
Still, MySQL powers WordPress (40% of the web), Facebook’s user data, Netflix’s billing, and a huge chunk of e-commerce. It’s not the sexiest database anymore — but it’s the reliable workhorse that never breaks.
The story of MySQL is the story of the early web: scrappy, pragmatic, and built on a bet that free software could beat expensive monolithic systems. It won.
Advertisement
Comments
Questions, corrections, and tips stay visible for everyone reading this page.
Join the discussion
No comments yet
Be the first to leave a note — it helps the next reader.