openskills.info
MySQL Fundamentals logoCourse Preview

MySQL Fundamentals

MySQL is a relational database server. Applications send SQL statements to store related records in tables, enforce rules between them, and retrieve the rows they need.

itDatabases and data storage

MySQL Fundamentals

MySQL is a client-server relational database management system. A MySQL server stores data in databases, while applications and interactive clients send Structured Query Language, or SQL, statements over a connection. The server parses each statement, checks permissions, chooses an execution plan, and asks a storage engine to read or change rows.

The default storage engine is InnoDB. It organizes each table around a clustered primary-key index and maintains secondary indexes for other access paths. InnoDB also supplies transactions, row-level locking, multi-version concurrency control, foreign keys, redo logging, undo data, and crash recovery. MySQL supports other storage engines, but their transaction and indexing behavior can differ.

From a request to rows

A connection authenticates as a MySQL account. The account's privileges determine which schemas and objects the session can use. After authorization, the SQL layer resolves names and validates the statement. The optimizer compares possible access paths and join orders. The executor then requests rows through the table's storage engine and returns a result or a row count to the client.

SQL describes the result you need rather than the physical steps that produce it. A SELECT can filter with WHERE, combine related tables with JOIN, group rows with GROUP BY, and sort with ORDER BY. The optimizer may scan a table or use an index. EXPLAIN displays the selected plan so you can inspect access types, chosen keys, join order, and row estimates.

Continue the course

This section is part of the paid course.

See pricing to subscribe, or log in if you already have access.

Where this skill leads

Relevant careers

See how this topic contributes to broader role-level skill maps.

Sources