# Replication Statements

{% hint style="info" %}
The terms *master* and *slave* have historically been used in replication, and MariaDB has begun the process of adding *primary* and *replica* synonyms. The old terms will continue to be used to maintain backward compatibility - see [MDEV-18777](https://jira.mariadb.org/browse/MDEV-18777) to follow progress on this effort.
{% endhint %}

{% content-ref url="/pages/iwrPWdRW7HGkmrIkKWQ6" %}
[CHANGE MASTER TO](/docs/server/reference/sql-statements/administrative-sql-statements/replication-statements/change-master-to.md)
{% endcontent-ref %}

{% content-ref url="/pages/YkFWDMzqPy8hZ6kXCLZN" %}
[RESET MASTER](/docs/server/reference/sql-statements/administrative-sql-statements/replication-statements/reset-master.md)
{% endcontent-ref %}

{% content-ref url="/pages/9kzpjsHHWQLOE0Xt7dRk" %}
[RESET REPLICA](/docs/server/reference/sql-statements/administrative-sql-statements/replication-statements/reset-replica.md)
{% endcontent-ref %}

{% content-ref url="/pages/x7ig2zkLB5Pk40BF2irK" %}
[SET GLOBAL SQL\_SLAVE\_SKIP\_COUNTER](/docs/server/reference/sql-statements/administrative-sql-statements/replication-statements/set-global-sql_slave_skip_counter.md)
{% endcontent-ref %}

{% content-ref url="/pages/lRxpUZw0YnafPUswd8Uy" %}
[START REPLICA](/docs/server/reference/sql-statements/administrative-sql-statements/replication-statements/start-replica.md)
{% endcontent-ref %}

{% content-ref url="/pages/y8JmwaCNOabWpvkQU0fG" %}
[STOP REPLICA](/docs/server/reference/sql-statements/administrative-sql-statements/replication-statements/stop-replica.md)
{% endcontent-ref %}

{% content-ref url="/pages/tPQfQ2aPYJc0O26xYeQ3" %}
[Legacy Replication Statements](/docs/server/reference/sql-statements/administrative-sql-statements/replication-statements/legacy-replication-statements.md)
{% endcontent-ref %}

<sub>*This page is licensed: CC BY-SA / Gnu FDL*</sub>

{% @marketo/form formId="4316" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://mariadb.com/docs/server/reference/sql-statements/administrative-sql-statements/replication-statements.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
