# MySQL

> A popular, free SQL database. A huge share of websites run on it.

**Field:** Software Development  
**Category:** Databases  
**Also known as:** My SQL

## Think of it like

Think of it like the most common shelf in a shop. You see it in all shops, since it is simple and it works.

## Definition

MySQL is a popular open-source relational database, first released in 1995. It powers a huge share of websites, including most WordPress sites. It is fast for simple reads and easy to set up. A close copy called MariaDB was started by its first author and works almost the same. Its server listens on port 3306 by default.

## Example

Jack's WordPress blog stores every post and comment in MySQL. Oracle has owned MySQL since 2010.

## Why it matters

If you work on websites, you will meet MySQL. It is behind a great many of them.

## Common mistake

Assuming SQL written for MySQL runs the same on PostgreSQL. Small differences in syntax and rules can break it.

## Three principles

- **Everywhere.** Behind a huge share of sites.
- **Simple to start.** Easy to set up and run.
- **MariaDB twin.** A close copy with the same roots.

## Related terms

- [Relational Database](https://learn.benibix.com/term/development/relational-database)
- [PostgreSQL](https://learn.benibix.com/term/development/postgresql)
- [SQLite](https://learn.benibix.com/term/development/sqlite)
- [Structured Query Language (SQL)](https://learn.benibix.com/term/development/sql)

## Told apart from

- [PostgreSQL vs MySQL](https://learn.benibix.com/compare/postgresql-vs-mysql): Both are free SQL databases. PostgreSQL is stricter and has more tools; MySQL is simple to start and runs a huge share of websites.

---

Source: https://learn.benibix.com/term/development/mysql
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-19
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
