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.
Preventing Duplicate Orders in PHP and MySQL: Transactions, Idempotency and Safe Retry Handling

Preventing Duplicate Orders in PHP and MySQL: Transactions, Idempotency and Safe Retry Handling

Comments 1
8 min read
A Backup Isn't a Recovery Plan: Building a Docker-Based MySQL Restore Verifier

A Backup Isn't a Recovery Plan: Building a Docker-Based MySQL Restore Verifier

Comments
6 min read
Hand-researched boat specs as JSON, applied by slug in a seeder

Hand-researched boat specs as JSON, applied by slug in a seeder

Comments
7 min read
No sentence, no component

No sentence, no component

Comments
8 min read
Postfix in a Chroot Cannot See Your MySQL Socket — Why Mail Stopped Both Ways

Postfix in a Chroot Cannot See Your MySQL Socket — Why Mail Stopped Both Ways

1
Comments 4
8 min read
general_log = 1 writes every query to a file, including the passwords in them

general_log = 1 writes every query to a file, including the passwords in them

Comments
3 min read
Laravel Race Condition Fix: Stop Double-Accepted Jobs

Laravel Race Condition Fix: Stop Double-Accepted Jobs

2
Comments 3
9 min read
From Complete Beginner to Data Scientist

From Complete Beginner to Data Scientist

Comments
2 min read
Your Users Save and Still See Old Data: Laravel 13.38 Fixes Read Replica Lag, Except in 3 Places

Your Users Save and Still See Old Data: Laravel 13.38 Fixes Read Replica Lag, Except in 3 Places

2
Comments 1
14 min read
MySQL max_user_connections Error: Causes and the Fix

MySQL max_user_connections Error: Causes and the Fix

Comments
7 min read
Flyway Migration: From Legacy Database to CI/CD

Flyway Migration: From Legacy Database to CI/CD

1
Comments
3 min read
MySQL vs PostgreSQL in 2026: An Honest Answer After Running Both

MySQL vs PostgreSQL in 2026: An Honest Answer After Running Both

Comments
3 min read
Laravel DB::olap() on PlanetScale: When I'd Still Chunk

Laravel DB::olap() on PlanetScale: When I'd Still Chunk

Comments
7 min read
AWS Region Migration: Moving a Live Production App, Solo

AWS Region Migration: Moving a Live Production App, Solo

1
Comments 1
12 min read
How to Auto-Update an updated_at Column: MySQL ON UPDATE vs a Database Trigger vs the ORM

How to Auto-Update an updated_at Column: MySQL ON UPDATE vs a Database Trigger vs the ORM

Comments
10 min read
đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.