MariaDB Replikation (Ubuntu): Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Zeile 6: | Zeile 6: | ||
<pre> | <pre> | ||
sudo vi /etc/mysql/my.cnf | sudo vi /etc/mysql/my.cnf | ||
</pre> | |||
<pre> | |||
log-bin | |||
server_id=1 | |||
replicate-do-db=replicate | |||
bind-address=10.0.0.157 | |||
</pre> | </pre> | ||
Version vom 5. Februar 2020, 23:14 Uhr
Noch in Bearbeitung
Server A
sudo vi /etc/mysql/my.cnf
log-bin server_id=1 replicate-do-db=replicate bind-address=10.0.0.157
Server B
Links
Zurück zu MariaDB