User Tools

Site Tools


useful:mysql-mariadb

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
useful:mysql-mariadb [2024/07/24 16:28] adminuseful:mysql-mariadb [2024/12/02 16:49] (current) admin
Line 2: Line 2:
  
 ====== MySQL / MariaDB ====== ====== MySQL / MariaDB ======
 +
 +===== Set up replication =====
 +
 +This is the command to set everything:
 +
 +     CHANGE MASTER TO MASTER_LOG_FILE='mysql-bin.000673', MASTER_LOG_POS=4, MASTER_USER='replicator', 
 +     MASTER_PASSWORD='*******', MASTER_HOST='127.0.0.1', MASTER_PORT=4002;
 +     
 +where the numbers 000673 and 4 will need to be changed.
  
 ===== Resync replication ===== ===== Resync replication =====
useful/mysql-mariadb.txt · Last modified: 2024/12/02 16:49 by admin