MySQL
One of the most widely deployed open-source relational databases.
CurrentbeginnerBeginner-friendlyGuide only -- no course yet
Overview
MySQL is a widely used open-source relational database, historically paired with PHP (the 'M' in the LAMP stack) and still extremely common in web hosting and WordPress deployments. It implements standard SQL with some of its own extensions and defaults.
- What it is
- An open-source relational database management system (RDBMS).
- Why it's used
- Wide hosting support, a mature ecosystem, and long-standing popularity in the PHP/WordPress world.
- Where it fits
- One of several concrete SQL database engines -- the SQL you learn transfers here directly.
Core concepts
- Storage engines (InnoDB)
- Indexes
- User privileges
- Standard SQL with MySQL-specific extensions
Example
AUTO_INCREMENT is a MySQL-specific way to generate sequential IDs -- PostgreSQL uses a different mechanism (SERIAL or IDENTITY) for the same idea, illustrating how SQL dialects diverge on specifics.
CREATE TABLE books (
id INT AUTO_INCREMENT PRIMARY KEY,
title VARCHAR(200) NOT NULL
);Common use cases
- WordPress and PHP-based web applications
- General-purpose relational data storage
Project ideas
- Set up a local MySQL database and recreate the bookstore schema used in this platform's SQL lessons