Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1064561
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T18:59:40+00:00 2026-05-16T18:59:40+00:00

I have two MySQL servers configured in a Master-Slave relationship. Master -> my.cnf: server-id=1283522287

  • 0

I have two MySQL servers configured in a Master-Slave relationship.

Master -> my.cnf:

server-id=1283522287
log-bin = /var/log/mysql/binary.log    // There are write permissions here.
binlog_do_db= foo,bar

Slave -> my.cnf:

server-id = 1283706035
master-host = {master internal IP}
master-port = 3306
master-user = {master slave user}
master-password = {master slave user password}

However, although MySQL reports that replication is up and running, that is:

  • “show master status;” gives a valid position and file
  • “show slave status\G” reports that Slave_IO_Running and Slave_SQL_Running are both “Yes”.
  • The slave is shown in the list of connected slaves, as viewed from the master.

Replication doesn’t work. Whenever a change is made, the master file log position doesn’t change. It stays at the starting size of 106 (bytes?).

Anybody have any idea what I’m missing?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T18:59:44+00:00Added an answer on May 16, 2026 at 6:59 pm

    … and I seem to have answered my own question, proving furthermore that one should NEVER ask questions on SO on Monday morning, after you’d had a weekend’s sleep.

    I had replication working great without the binlog-do-db statement, but it looked as though that would synchronize the mysql and information_schema, so I added that line:

    binlog-do-db = foo,bar

    Apparently, you can’t comma delimit this (from the MySQL Manual):

    Important

    To log multiple databases, use this option multiple times, specifying the option once for each database to be logged. Because database names can contain commas, the list will be treated as the name of a single database if you supply a comma-separated list.

    Great.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have two MySQL servers configured in a multi-master replication setup. Each is a
On my Unix web server, I have two MySQL database servers running. One on
I have one table spread across two servers running MySql 4. I need to
I have two servers, both running phpmyadmin, and I exported a mysql dump on
I have two database in one mysql server database_master and database_backup . I would
I have two mysql servers, both of which are masters. After some problems with
I have two servers. I want delete file from second server via first server!
When I have two mysql servers that have different jobs (holding different databases) but
We have a MySQL setup running a single master and two replication slaves. We
I have two Linux/MySQL servers located in the UK, current system timezone on both

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.