http://blog.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion/selfhosting/db/msql_mm.html
MariaDB [(none)]> create user 'repl'@'%' identified by 'slavepassword';
Query OK, 0 rows affected (0.001 sec)
MariaDB [(none)]> grant replication slave on *.* to 'repl'@'%';
Query OK, 0 rows affected (0.001 sec) Once that's done, we need to make sure both the databases start with the SAME data, to do that we will use mysqldump to
make a .sql file out of the first database, and then pipe it into the second debian's mysql: MariaDB [(none)]> create database...
1 similar result skipped