Common SQL Errors

MySQL Error 1650 ER_SLAVE_IGNORE_SERVER_IDS: How to Fix Replication Server ID Clash

Galaxy Team
August 7, 2025

<p>MySQL cannot start the replica because the configured server_id duplicates an ID the replica is set to ignore.</p>

Sign up for the latest in common SQL errors from the Galaxy Team!
Welcome to the Galaxy, Guardian!
You'll be receiving a confirmation email

Follow us on twitter :)
Oops! Something went wrong while submitting the form.

What is MySQL error code 1650?

<p>MySQL Error 1650 ER_SLAVE_IGNORE_SERVER_IDS happens when a replica starts with a server_id that appears in the --replicate-ignore-server-ids list. Change the replica’s server_id or adjust the ignore list, then restart replication to resolve the clash.</p>

Error Highlights

Typical Error Message

The requested server id %d clashes with the slave startup

Error Type

Replication Error

Language

MySQL

Symbol

ER_SLAVE_IGNORE_SERVER_IDS

Error Code

1650

SQL State

HY000

Explanation

Table of Contents

What is MySQL error 1650 ER_SLAVE_IGNORE_SERVER_IDS?

Error 1650 is raised during replica startup when the replica’s own server_id matches an ID listed in the --replicate-ignore-server-ids option. MySQL aborts replication to prevent accidental self-filtering.

The message appears as: The requested server id X clashes with the slave startup option --replicate-same-server-id.

Why does this clash matter?

Replication relies on unique server_id values to identify sources and replicas. If the replica ignores its own ID, it may skip vital events or cause infinite loops, corrupting data integrity.

What Causes This Error?

The replica’s server_id duplicates an ID in its own ignore list.

Administrators sometimes copy my.cnf settings between servers and forget to update either server_id or the ignore list.

How to Fix MySQL Error 1650

Assign a unique server_id not present in --replicate-ignore-server-ids, or remove the conflicting ID from the list. Restart mysqld and issue START SLAVE or START REPLICA.

Common Scenarios and Solutions

Cloned virtual machines often inherit identical server_id values. Update server_id in my.cnf before booting the replica.

Multi-replica topologies may include catch-all ignore lists. Audit the list and keep only true source IDs.

Best Practices to Avoid This Error

Maintain a documented server_id registry. Use ranges (e.g., 1-99 for sources, 100-199 for replicas) to avoid overlaps.

Automate configuration generation with templates that inject unique IDs at deploy time.

Related Errors and Solutions

Error 1236 source log not available arises when replicas fall behind. Fix by fetching missing binlogs.

Error 1201 master and slave have equal MySQL server IDs indicates a direct duplicate ID between source and replica; assign unique IDs.

Common Causes

Duplicate server_id in ignore list

The replica’s server_id is explicitly listed in --replicate-ignore-server-ids, usually after copy-paste configuration.

Reusing VM images

Cloned instances keep the original server_id while also inheriting replication filters.

Automated build scripts

Configuration management tools may apply template values that collide with existing IDs.

Related Errors

Error 1201: master and slave have equal MySQL server IDs

Occurs when source and replica share the same server_id. Fix by assigning unique IDs.

Error 1236: Could not find first log file name in binary log index

Indicates missing binlog files on the source. Re-sync or restore backups.

Error 1872: Slave failed to initialize relay log info structure

Arises from corrupted relay-log.info files. Reset replica and re-clone.

FAQs

Does changing server_id require a full resync?

No. Update server_id, restart the replica, then START SLAVE; replication resumes.

Can I have gaps in server_id numbering?

Yes. IDs only need to be unique within the replication topology.

Is --replicate-ignore-server-ids still needed in MySQL 8?

Many setups replace it with channel-specific filters, but it remains supported.

How does Galaxy help?

Galaxy surfaces server_id conflicts during connection testing and suggests fixes inside its editor, preventing failed replica launches.

Start Querying with the Modern SQL Editor Today!
Welcome to the Galaxy, Guardian!
You'll be receiving a confirmation email

Follow us on twitter :)
Oops! Something went wrong while submitting the form.

Check out some other errors

Trusted by top engineers on high-velocity teams
Aryeo Logo
Assort Health
Curri
Rubie Logo
Bauhealth Logo
Truvideo Logo