DEV Community

#mysql

Posts on tips and tricks, using and learning about MySQL for database development and analysis.

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
What Is Database Sharding, and When Should You Shard?

What Is Database Sharding, and When Should You Shard?

Comments
12 min read
Showing every matching page in a PDF search: one query, a pagination gotcha, and two-page spreads

Showing every matching page in a PDF search: one query, a pagination gotcha, and two-page spreads

Comments
5 min read
Fixing SQLSTATE[42000]: 1071 Specified Key Was Too Long (1000 & 767 Bytes) in Laravel

Fixing SQLSTATE[42000]: 1071 Specified Key Was Too Long (1000 & 767 Bytes) in Laravel

Comments
5 min read
Streaming MySQL to BigQuery with the binlog: how CDC works, and the parts that bite

Streaming MySQL to BigQuery with the binlog: how CDC works, and the parts that bite

Comments 1
5 min read
Lesson 2: Adding MySQL to Laravel’s Apache Docker Setup

Lesson 2: Adding MySQL to Laravel’s Apache Docker Setup

Comments
5 min read
Transactional DDL in PostgreSQL, MySQL and CockroachDB: Which Failed Migrations Roll Back?

Transactional DDL in PostgreSQL, MySQL and CockroachDB: Which Failed Migrations Roll Back?

Comments
10 min read
Receipt Archives: Object Storage or Managed Database Backups for SaaS Postgres/MySQL

Receipt Archives: Object Storage or Managed Database Backups for SaaS Postgres/MySQL

Comments
7 min read
# From Database Tables to Long-Term Memory with Hindsight

# From Database Tables to Long-Term Memory with Hindsight

Comments
8 min read
Laravel's Missing DB Connect Timeout: Four Attempts, Two Minutes

Laravel's Missing DB Connect Timeout: Four Attempts, Two Minutes

1
Comments
6 min read
Soft Deletes vs. Unique Constraints: The Duplicate SKU Bug That Hid for a Year

Soft Deletes vs. Unique Constraints: The Duplicate SKU Bug That Hid for a Year

Comments
6 min read
Back up MySQL and MariaDB to S3: from mysqldump to a verified restore

Back up MySQL and MariaDB to S3: from mysqldump to a verified restore

Comments
6 min read
PostgreSQL vs MySQL en 2026 : versions, syntaxe, index et grille de choix

PostgreSQL vs MySQL en 2026 : versions, syntaxe, index et grille de choix

Comments
15 min read
MySQL vs PostgreSQL: DDL, DML

MySQL vs PostgreSQL: DDL, DML

1
Comments
3 min read
A PHP + MySQL attendance register: a weekend project for PHP training students

A PHP + MySQL attendance register: a weekend project for PHP training students

Comments
2 min read
SQL INNER JOIN vs LEFT JOIN vs RIGHT JOIN vs FULL OUTER JOIN: Differences With Examples (Tested in MySQL 8.4 and SQLite)

SQL INNER JOIN vs LEFT JOIN vs RIGHT JOIN vs FULL OUTER JOIN: Differences With Examples (Tested in MySQL 8.4 and SQLite)

Comments
12 min read
👋 Sign in for the ability to sort posts by relevant, latest, or top.