Web Development Tutorials
//

Category: Database Administration

Database Administration

Create an Index and Read EXPLAIN in MySQL

Create an index in MySQL and use EXPLAIN to prove it worked, turning a 5,000-row full table scan into a targeted lookup of just…

July 30, 2026

Database Administration

Add a Foreign Key in MySQL

Add a foreign key in MySQL to link two tables and have the database enforce it, rejecting orphan rows while an ON DELETE CASCADE…

July 29, 2026

Database Administration

Create a MySQL Table From the Terminal

Create a MySQL table from the terminal with a single CREATE TABLE statement: typed columns, an AUTO_INCREMENT primary key, and sensible defaults, confirmed with…

July 29, 2026

Database Administration

Join Tables in MySQL

Join tables in MySQL to combine related rows in a single query. Learn INNER JOIN for matches, LEFT JOIN to keep unmatched rows, table…

July 27, 2026

Database Administration

Restore MySQL backup from the terminal

Efficiently import MySql backup database records from an .sql file using the mysql command from the terminal. A quick and direct approach to restore…

March 22, 2023