{% load i18n %}
{% trans "readiness · binlog / GTID · replicas" %}
{% trans "✓ Binary logging and server_id are configured." %}
{% else %}{% trans "Set these on the source, then restart it:" %}
{{ recipe.create_user_sql }}
{{ recipe.change_source_sql }}
{{ recipe.start_replica_sql }}
{% blocktrans with host=recipe.source_host port=recipe.source_port %}⚠ The replica must be able to reach {{ host }}:{{ port }} over the network and authenticate as the replication user. This is a starting point; see the MySQL docs for production (TLS, a dedicated account, GTID).{% endblocktrans %}
| server_id | {% trans "Host" %} | {% trans "Port" %} |
|---|---|---|
| {{ r.server_id }} | {{ r.host|default:"—" }} | {{ r.port|default:"—" }} |
{% trans "No replica connected." %}
{% endif %}