How to SetUp MySQL Master-Master Replication on Ubuntu 22.04
MySQL replication is when a single data set, stored in a MySQL database, will be live-copied to a second server. This configuration, called “master-slave” replication, is a typical setup. Our setup will be better than that because master-master replication allows data to be copied from either server to the other. This subtle but important difference allows us to perform MySQL reads or writes from either server. This configuration adds redundancy and increases efficiency when dealing with accessing the data.
For more explanation on this video: https://www.linuxhelp.com/how-to-setup-mysql-master-master-replication-on-ubuntu-22-04
ubuntu