History of MySQL
From 1995 MySQL AB → Sun (2008) → Oracle (2010).
MySQL was born in 1995 at MySQL AB (Sweden), founded by Michael 'Monty' Widenius, David Axmark, and Allan Larsson. Sun Microsystems acquired it in 2008 for $1B; Oracle then acquired Sun in 2010 and inherited MySQL.
Following Oracle's acquisition, Monty forked the project as MariaDB to guarantee the open-source future — MariaDB is now a drop-in replacement on Linux distros like Debian and RHEL. MySQL itself continues to evolve under Oracle with major releases 5.6 → 5.7 → 8.0 → 8.4 → 9.x.
sqlSELECT 'Hello, MySQL!' AS greeting;
(Run in MySQL Workbench or `mysql` CLI — values depend on your data.)
Knowing the lineage explains why you'll see MySQL, MariaDB, and Percona Server in the wild — they're all close cousins that speak the same SQL with subtle differences.
- 1995 — first public release.
- 2008 — Sun acquires MySQL AB for $1B.
- 2010 — Oracle acquires Sun → owns MySQL.
- 2009 — Monty forks MariaDB to keep it FOSS.
- 2018 — MySQL 8.0 ships (current LTS).
- Compare
SELECT VERSION();output on a MySQL vs MariaDB install. - Read the release notes for MySQL 8.0 — see what changed since 5.7.
- Spin up MariaDB in Docker — verify your MySQL client connects unchanged.
- If you're on a Linux distro that ships 'MySQL', it's almost certainly MariaDB.
- For new projects in 2026 — pick MySQL 8.0+ unless your stack mandates MariaDB.
- Read MySQL release notes carefully — minor versions often change defaults.
Run any SELECT, INSERT, JOIN or GROUP BY against the seeded users · products · orders tables — your changes are sandboxed and reset whenever you click Reset DB.
// see seed schema (3 tables · 8 users · 8 products · 12 orders)
users (id, name, email, country, age, created_at) products (id, name, price, stock, category) orders (id, user_id → users.id, product_id → products.id, qty, total, created_at)
Each challenge is auto-graded — write the SQL, click Submit answer, and we'll compare your result-set to the canonical one.
Quick recap quiz?
We'll generate 5 MCQs from this lesson and check your understanding instantly. Takes ~30 seconds.
