Maker tech hub — AI · 3D print · Pi · ESP32 · plus the classic tech archive.

Free ESP32 kit · Books · Network Ninja · Archive

Classic tech archive. From the original averyjparker.com tech blog — historical context; pair with modern guides where noted. Full archive · Maker projects · Network Ninja

Classic tip · Classic

MySQL setting up database replication

Database replication is one of those useful things that can really make your life simpler. It's not really a way of backing up the data in a MySQL database, because if you inadvertently issue a comma…

Written by

Avery J. Parker

IT veteran, maker educator, and author of Network Ninja, 3D Printing Mastery, and AI Workflow Mastery. Business IT: Diversified Tech Solutions.

Database replication is one of those useful things that can really make your life simpler. It's not really a way of backing up the data in a MySQL database, because if you inadvertently issue a command to delete the entire database, it won't save you from yourself.... it will faithfully replicate the change to the slave servers. However, in the event of hardware failure or other abrupt disruption of connectivity, the concept of replicating from a master to a slave server is ideal.


How-to forge has a good writeup on how to get this kind of replication setup.