MySQL replication: slave is not getting data from master Announcing the arrival of Valued...

How do I keep my slimes from escaping their pens?

Sorting numerically

When -s is used with third person singular. What's its use in this context?

How to bypass password on Windows XP account?

Is it true that "carbohydrates are of no use for the basal metabolic need"?

How to find all the available tools in macOS terminal?

What makes black pepper strong or mild?

Why are there no cargo aircraft with "flying wing" design?

Letter Boxed validator

What does the "x" in "x86" represent?

Doubts about chords

What do you call a plan that's an alternative plan in case your initial plan fails?

Should gear shift center itself while in neutral?

How to draw this diagram using TikZ package?

Does accepting a pardon have any bearing on trying that person for the same crime in a sovereign jurisdiction?

G-Code for resetting to 100% speed

How to recreate this effect in Photoshop?

How can I fade player when goes inside or outside of the area?

How does cp -a work

Why don't the Weasley twins use magic outside of school if the Trace can only find the location of spells cast?

Can a non-EU citizen traveling with me come with me through the EU passport line?

Did Kevin spill real chili?

If a contract sometimes uses the wrong name, is it still valid?

Can inflation occur in a positive-sum game currency system such as the Stack Exchange reputation system?



MySQL replication: slave is not getting data from master



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)MySQL slave replicates changes that are in neither binlog_do_db nor replicate_do_dbMySql replication from 5.1 master to 5.6 slave keep crashingStrange MySQL replication error 1146 (Table doesn't exist)mysql master/master replication problemmysql 5.6 gtid replication slave stuck (system lock)?Master/Slave MySQL error in replicationMySQL replication error from 5.5 -> 5.6Why isn't my MySQL replication filter working?error connecting to master 'replica@192.168.57.10:3306' mac-ubuntuMySQL Replication Error - Deadlock





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







3















My problem is that all setup is done for MySQL replication but the slave is unable to sync the master's data. To understand I am sharing link below; please visit.



mysql>  SHOW SLAVE STATUS G;
*************************** 1. row ***************************
Slave_IO_State: Waiting for master to send event
Master_Host: 192.168.10.110
Master_User: slaveuser
Master_Port: 3306
Connect_Retry: 60
Master_Log_File: mysql-bin.000033
Read_Master_Log_Pos: 402
Relay_Log_File: VoltyLinux-relay-bin.000046
Relay_Log_Pos: 317
Relay_Master_Log_File: mysql-bin.000033
Slave_IO_Running: Yes
Slave_SQL_Running: Yes
Replicate_Do_DB: replica
Replicate_Ignore_DB:
Replicate_Do_Table:
Replicate_Ignore_Table:
Replicate_Wild_Do_Table:
Replicate_Wild_Ignore_Table:
Last_Errno: 0
Last_Error:
Skip_Counter: 0
Exec_Master_Log_Pos: 402
Relay_Log_Space: 692
Until_Condition: None
Until_Log_File:
Until_Log_Pos: 0
Master_SSL_Allowed: No
Master_SSL_CA_File:
Master_SSL_CA_Path:
Master_SSL_Cert:
Master_SSL_Cipher:
Master_SSL_Key:
Seconds_Behind_Master: 0
Master_SSL_Verify_Server_Cert: No
Last_IO_Errno: 0
Last_IO_Error:
Last_SQL_Errno: 0
Last_SQL_Error:
Replicate_Ignore_Server_Ids:
Master_Server_Id: 1
Master_UUID: f1739fcc-0d2d-11e6-a8cc-c03fd56585b5
Master_Info_File: mysql.slave_master_info
SQL_Delay: 0
SQL_Remaining_Delay: NULL
Slave_SQL_Running_State: Slave has read all relay log; waiting for more updates
Master_Retry_Count: 60
Master_Bind:
Last_IO_Error_Timestamp:
Last_SQL_Error_Timestamp:
Master_SSL_Crl:
Master_SSL_Crlpath:
Retrieved_Gtid_Set:
Executed_Gtid_Set:
Auto_Position: 0
Replicate_Rewrite_DB:
Channel_Name:
Master_TLS_Version:
1 row in set (0.00 sec)


https://stackoverflow.com/q/36929641/2644613










share|improve this question
















bumped to the homepage by Community 4 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • Just to clarify: with "sync" you mean that changes on master are not propagated to the slave, right? What are the server_ids of the servers? (run: show global variables like 'server_id' on both the slave and the master). Please also include the master status from the master host. Do you have any replication filters enabled?

    – Károly Nagy
    May 2 '16 at 8:05


















3















My problem is that all setup is done for MySQL replication but the slave is unable to sync the master's data. To understand I am sharing link below; please visit.



mysql>  SHOW SLAVE STATUS G;
*************************** 1. row ***************************
Slave_IO_State: Waiting for master to send event
Master_Host: 192.168.10.110
Master_User: slaveuser
Master_Port: 3306
Connect_Retry: 60
Master_Log_File: mysql-bin.000033
Read_Master_Log_Pos: 402
Relay_Log_File: VoltyLinux-relay-bin.000046
Relay_Log_Pos: 317
Relay_Master_Log_File: mysql-bin.000033
Slave_IO_Running: Yes
Slave_SQL_Running: Yes
Replicate_Do_DB: replica
Replicate_Ignore_DB:
Replicate_Do_Table:
Replicate_Ignore_Table:
Replicate_Wild_Do_Table:
Replicate_Wild_Ignore_Table:
Last_Errno: 0
Last_Error:
Skip_Counter: 0
Exec_Master_Log_Pos: 402
Relay_Log_Space: 692
Until_Condition: None
Until_Log_File:
Until_Log_Pos: 0
Master_SSL_Allowed: No
Master_SSL_CA_File:
Master_SSL_CA_Path:
Master_SSL_Cert:
Master_SSL_Cipher:
Master_SSL_Key:
Seconds_Behind_Master: 0
Master_SSL_Verify_Server_Cert: No
Last_IO_Errno: 0
Last_IO_Error:
Last_SQL_Errno: 0
Last_SQL_Error:
Replicate_Ignore_Server_Ids:
Master_Server_Id: 1
Master_UUID: f1739fcc-0d2d-11e6-a8cc-c03fd56585b5
Master_Info_File: mysql.slave_master_info
SQL_Delay: 0
SQL_Remaining_Delay: NULL
Slave_SQL_Running_State: Slave has read all relay log; waiting for more updates
Master_Retry_Count: 60
Master_Bind:
Last_IO_Error_Timestamp:
Last_SQL_Error_Timestamp:
Master_SSL_Crl:
Master_SSL_Crlpath:
Retrieved_Gtid_Set:
Executed_Gtid_Set:
Auto_Position: 0
Replicate_Rewrite_DB:
Channel_Name:
Master_TLS_Version:
1 row in set (0.00 sec)


https://stackoverflow.com/q/36929641/2644613










share|improve this question
















bumped to the homepage by Community 4 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • Just to clarify: with "sync" you mean that changes on master are not propagated to the slave, right? What are the server_ids of the servers? (run: show global variables like 'server_id' on both the slave and the master). Please also include the master status from the master host. Do you have any replication filters enabled?

    – Károly Nagy
    May 2 '16 at 8:05














3












3








3








My problem is that all setup is done for MySQL replication but the slave is unable to sync the master's data. To understand I am sharing link below; please visit.



mysql>  SHOW SLAVE STATUS G;
*************************** 1. row ***************************
Slave_IO_State: Waiting for master to send event
Master_Host: 192.168.10.110
Master_User: slaveuser
Master_Port: 3306
Connect_Retry: 60
Master_Log_File: mysql-bin.000033
Read_Master_Log_Pos: 402
Relay_Log_File: VoltyLinux-relay-bin.000046
Relay_Log_Pos: 317
Relay_Master_Log_File: mysql-bin.000033
Slave_IO_Running: Yes
Slave_SQL_Running: Yes
Replicate_Do_DB: replica
Replicate_Ignore_DB:
Replicate_Do_Table:
Replicate_Ignore_Table:
Replicate_Wild_Do_Table:
Replicate_Wild_Ignore_Table:
Last_Errno: 0
Last_Error:
Skip_Counter: 0
Exec_Master_Log_Pos: 402
Relay_Log_Space: 692
Until_Condition: None
Until_Log_File:
Until_Log_Pos: 0
Master_SSL_Allowed: No
Master_SSL_CA_File:
Master_SSL_CA_Path:
Master_SSL_Cert:
Master_SSL_Cipher:
Master_SSL_Key:
Seconds_Behind_Master: 0
Master_SSL_Verify_Server_Cert: No
Last_IO_Errno: 0
Last_IO_Error:
Last_SQL_Errno: 0
Last_SQL_Error:
Replicate_Ignore_Server_Ids:
Master_Server_Id: 1
Master_UUID: f1739fcc-0d2d-11e6-a8cc-c03fd56585b5
Master_Info_File: mysql.slave_master_info
SQL_Delay: 0
SQL_Remaining_Delay: NULL
Slave_SQL_Running_State: Slave has read all relay log; waiting for more updates
Master_Retry_Count: 60
Master_Bind:
Last_IO_Error_Timestamp:
Last_SQL_Error_Timestamp:
Master_SSL_Crl:
Master_SSL_Crlpath:
Retrieved_Gtid_Set:
Executed_Gtid_Set:
Auto_Position: 0
Replicate_Rewrite_DB:
Channel_Name:
Master_TLS_Version:
1 row in set (0.00 sec)


https://stackoverflow.com/q/36929641/2644613










share|improve this question
















My problem is that all setup is done for MySQL replication but the slave is unable to sync the master's data. To understand I am sharing link below; please visit.



mysql>  SHOW SLAVE STATUS G;
*************************** 1. row ***************************
Slave_IO_State: Waiting for master to send event
Master_Host: 192.168.10.110
Master_User: slaveuser
Master_Port: 3306
Connect_Retry: 60
Master_Log_File: mysql-bin.000033
Read_Master_Log_Pos: 402
Relay_Log_File: VoltyLinux-relay-bin.000046
Relay_Log_Pos: 317
Relay_Master_Log_File: mysql-bin.000033
Slave_IO_Running: Yes
Slave_SQL_Running: Yes
Replicate_Do_DB: replica
Replicate_Ignore_DB:
Replicate_Do_Table:
Replicate_Ignore_Table:
Replicate_Wild_Do_Table:
Replicate_Wild_Ignore_Table:
Last_Errno: 0
Last_Error:
Skip_Counter: 0
Exec_Master_Log_Pos: 402
Relay_Log_Space: 692
Until_Condition: None
Until_Log_File:
Until_Log_Pos: 0
Master_SSL_Allowed: No
Master_SSL_CA_File:
Master_SSL_CA_Path:
Master_SSL_Cert:
Master_SSL_Cipher:
Master_SSL_Key:
Seconds_Behind_Master: 0
Master_SSL_Verify_Server_Cert: No
Last_IO_Errno: 0
Last_IO_Error:
Last_SQL_Errno: 0
Last_SQL_Error:
Replicate_Ignore_Server_Ids:
Master_Server_Id: 1
Master_UUID: f1739fcc-0d2d-11e6-a8cc-c03fd56585b5
Master_Info_File: mysql.slave_master_info
SQL_Delay: 0
SQL_Remaining_Delay: NULL
Slave_SQL_Running_State: Slave has read all relay log; waiting for more updates
Master_Retry_Count: 60
Master_Bind:
Last_IO_Error_Timestamp:
Last_SQL_Error_Timestamp:
Master_SSL_Crl:
Master_SSL_Crlpath:
Retrieved_Gtid_Set:
Executed_Gtid_Set:
Auto_Position: 0
Replicate_Rewrite_DB:
Channel_Name:
Master_TLS_Version:
1 row in set (0.00 sec)


https://stackoverflow.com/q/36929641/2644613







mysql replication






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 18 '18 at 9:43









Michael Green

15.1k83262




15.1k83262










asked May 2 '16 at 6:27









user93591user93591

162




162





bumped to the homepage by Community 4 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 4 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • Just to clarify: with "sync" you mean that changes on master are not propagated to the slave, right? What are the server_ids of the servers? (run: show global variables like 'server_id' on both the slave and the master). Please also include the master status from the master host. Do you have any replication filters enabled?

    – Károly Nagy
    May 2 '16 at 8:05



















  • Just to clarify: with "sync" you mean that changes on master are not propagated to the slave, right? What are the server_ids of the servers? (run: show global variables like 'server_id' on both the slave and the master). Please also include the master status from the master host. Do you have any replication filters enabled?

    – Károly Nagy
    May 2 '16 at 8:05

















Just to clarify: with "sync" you mean that changes on master are not propagated to the slave, right? What are the server_ids of the servers? (run: show global variables like 'server_id' on both the slave and the master). Please also include the master status from the master host. Do you have any replication filters enabled?

– Károly Nagy
May 2 '16 at 8:05





Just to clarify: with "sync" you mean that changes on master are not propagated to the slave, right? What are the server_ids of the servers? (run: show global variables like 'server_id' on both the slave and the master). Please also include the master status from the master host. Do you have any replication filters enabled?

– Károly Nagy
May 2 '16 at 8:05










1 Answer
1






active

oldest

votes


















0














From your Show slave status G output, the following things can be understood:





  1. Slave_IO_Running: Yes It means, Input Output thread is running - this thread is responsible for downloading data (binlog) from master server to slave server.


  2. Slave_SQL_Running: Yes It means, SQL thread is running - this thread is responsible for executing SQL from relay log (from binlog).


  3. Read_Master_Log_Pos: 402, Exec_Master_Log_Pos = 402, It means, the IO thread reading from the binary log position 402 and the SQL thread executing the same query.


  4. Seconds_Behind_Master: 0 It means, both the master and slave is in sync and slave is in up-to the point, no delay.


  5. Slave_SQL_Running_State: Slave has read all relay log; waiting for more updates. It means slave is up to the point.


It seems, slave is getting data from master and there is no issues in your settings.



FYI:




  1. Run the Show Slave Status G command continuously, you will see the following variable values will change, every time.



Master_Log_File: mysql-bin.000033
Read_Master_Log_Pos: 402
Relay_Log_File: VoltyLinux-relay-bin.000046
Relay_Log_Pos: 317
Exec_Master_Log_Pos: 402
Relay_Log_Space: 692



In case, if your slave stopped getting data from master server, you will see the No value for Slave_IO Running variable in your Show Slave Status G command output as follows.



Slave_IO_Running: NO


I hope this answer will help you. Thanks.






share|improve this answer
























  • "change every time"? I don't think so.

    – Rick James
    May 2 '16 at 19:54











  • @RickJames If master data replicated to slave, the values will change. However, we can define the maximum size limit for log files (binary log & relay log), once the max limit reached, log files names will change. I tried to answer in simple language, so may be few things change a bit. Thank you.

    – rathishDBA
    May 3 '16 at 6:53











  • In non-busy systems, Log_files may change only once a week. A busy system might see them change once an hour. But not "every time you run SHOW SLAVE STATUS".

    – Rick James
    May 3 '16 at 23:37











  • Simple way just create a test database on master server and see if it got created on slave server (assuming no time lagging).

    – rathishDBA
    May 17 '17 at 14:12












Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "182"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdba.stackexchange.com%2fquestions%2f137167%2fmysql-replication-slave-is-not-getting-data-from-master%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














From your Show slave status G output, the following things can be understood:





  1. Slave_IO_Running: Yes It means, Input Output thread is running - this thread is responsible for downloading data (binlog) from master server to slave server.


  2. Slave_SQL_Running: Yes It means, SQL thread is running - this thread is responsible for executing SQL from relay log (from binlog).


  3. Read_Master_Log_Pos: 402, Exec_Master_Log_Pos = 402, It means, the IO thread reading from the binary log position 402 and the SQL thread executing the same query.


  4. Seconds_Behind_Master: 0 It means, both the master and slave is in sync and slave is in up-to the point, no delay.


  5. Slave_SQL_Running_State: Slave has read all relay log; waiting for more updates. It means slave is up to the point.


It seems, slave is getting data from master and there is no issues in your settings.



FYI:




  1. Run the Show Slave Status G command continuously, you will see the following variable values will change, every time.



Master_Log_File: mysql-bin.000033
Read_Master_Log_Pos: 402
Relay_Log_File: VoltyLinux-relay-bin.000046
Relay_Log_Pos: 317
Exec_Master_Log_Pos: 402
Relay_Log_Space: 692



In case, if your slave stopped getting data from master server, you will see the No value for Slave_IO Running variable in your Show Slave Status G command output as follows.



Slave_IO_Running: NO


I hope this answer will help you. Thanks.






share|improve this answer
























  • "change every time"? I don't think so.

    – Rick James
    May 2 '16 at 19:54











  • @RickJames If master data replicated to slave, the values will change. However, we can define the maximum size limit for log files (binary log & relay log), once the max limit reached, log files names will change. I tried to answer in simple language, so may be few things change a bit. Thank you.

    – rathishDBA
    May 3 '16 at 6:53











  • In non-busy systems, Log_files may change only once a week. A busy system might see them change once an hour. But not "every time you run SHOW SLAVE STATUS".

    – Rick James
    May 3 '16 at 23:37











  • Simple way just create a test database on master server and see if it got created on slave server (assuming no time lagging).

    – rathishDBA
    May 17 '17 at 14:12
















0














From your Show slave status G output, the following things can be understood:





  1. Slave_IO_Running: Yes It means, Input Output thread is running - this thread is responsible for downloading data (binlog) from master server to slave server.


  2. Slave_SQL_Running: Yes It means, SQL thread is running - this thread is responsible for executing SQL from relay log (from binlog).


  3. Read_Master_Log_Pos: 402, Exec_Master_Log_Pos = 402, It means, the IO thread reading from the binary log position 402 and the SQL thread executing the same query.


  4. Seconds_Behind_Master: 0 It means, both the master and slave is in sync and slave is in up-to the point, no delay.


  5. Slave_SQL_Running_State: Slave has read all relay log; waiting for more updates. It means slave is up to the point.


It seems, slave is getting data from master and there is no issues in your settings.



FYI:




  1. Run the Show Slave Status G command continuously, you will see the following variable values will change, every time.



Master_Log_File: mysql-bin.000033
Read_Master_Log_Pos: 402
Relay_Log_File: VoltyLinux-relay-bin.000046
Relay_Log_Pos: 317
Exec_Master_Log_Pos: 402
Relay_Log_Space: 692



In case, if your slave stopped getting data from master server, you will see the No value for Slave_IO Running variable in your Show Slave Status G command output as follows.



Slave_IO_Running: NO


I hope this answer will help you. Thanks.






share|improve this answer
























  • "change every time"? I don't think so.

    – Rick James
    May 2 '16 at 19:54











  • @RickJames If master data replicated to slave, the values will change. However, we can define the maximum size limit for log files (binary log & relay log), once the max limit reached, log files names will change. I tried to answer in simple language, so may be few things change a bit. Thank you.

    – rathishDBA
    May 3 '16 at 6:53











  • In non-busy systems, Log_files may change only once a week. A busy system might see them change once an hour. But not "every time you run SHOW SLAVE STATUS".

    – Rick James
    May 3 '16 at 23:37











  • Simple way just create a test database on master server and see if it got created on slave server (assuming no time lagging).

    – rathishDBA
    May 17 '17 at 14:12














0












0








0







From your Show slave status G output, the following things can be understood:





  1. Slave_IO_Running: Yes It means, Input Output thread is running - this thread is responsible for downloading data (binlog) from master server to slave server.


  2. Slave_SQL_Running: Yes It means, SQL thread is running - this thread is responsible for executing SQL from relay log (from binlog).


  3. Read_Master_Log_Pos: 402, Exec_Master_Log_Pos = 402, It means, the IO thread reading from the binary log position 402 and the SQL thread executing the same query.


  4. Seconds_Behind_Master: 0 It means, both the master and slave is in sync and slave is in up-to the point, no delay.


  5. Slave_SQL_Running_State: Slave has read all relay log; waiting for more updates. It means slave is up to the point.


It seems, slave is getting data from master and there is no issues in your settings.



FYI:




  1. Run the Show Slave Status G command continuously, you will see the following variable values will change, every time.



Master_Log_File: mysql-bin.000033
Read_Master_Log_Pos: 402
Relay_Log_File: VoltyLinux-relay-bin.000046
Relay_Log_Pos: 317
Exec_Master_Log_Pos: 402
Relay_Log_Space: 692



In case, if your slave stopped getting data from master server, you will see the No value for Slave_IO Running variable in your Show Slave Status G command output as follows.



Slave_IO_Running: NO


I hope this answer will help you. Thanks.






share|improve this answer













From your Show slave status G output, the following things can be understood:





  1. Slave_IO_Running: Yes It means, Input Output thread is running - this thread is responsible for downloading data (binlog) from master server to slave server.


  2. Slave_SQL_Running: Yes It means, SQL thread is running - this thread is responsible for executing SQL from relay log (from binlog).


  3. Read_Master_Log_Pos: 402, Exec_Master_Log_Pos = 402, It means, the IO thread reading from the binary log position 402 and the SQL thread executing the same query.


  4. Seconds_Behind_Master: 0 It means, both the master and slave is in sync and slave is in up-to the point, no delay.


  5. Slave_SQL_Running_State: Slave has read all relay log; waiting for more updates. It means slave is up to the point.


It seems, slave is getting data from master and there is no issues in your settings.



FYI:




  1. Run the Show Slave Status G command continuously, you will see the following variable values will change, every time.



Master_Log_File: mysql-bin.000033
Read_Master_Log_Pos: 402
Relay_Log_File: VoltyLinux-relay-bin.000046
Relay_Log_Pos: 317
Exec_Master_Log_Pos: 402
Relay_Log_Space: 692



In case, if your slave stopped getting data from master server, you will see the No value for Slave_IO Running variable in your Show Slave Status G command output as follows.



Slave_IO_Running: NO


I hope this answer will help you. Thanks.







share|improve this answer












share|improve this answer



share|improve this answer










answered May 2 '16 at 8:23









rathishDBArathishDBA

1,10431227




1,10431227













  • "change every time"? I don't think so.

    – Rick James
    May 2 '16 at 19:54











  • @RickJames If master data replicated to slave, the values will change. However, we can define the maximum size limit for log files (binary log & relay log), once the max limit reached, log files names will change. I tried to answer in simple language, so may be few things change a bit. Thank you.

    – rathishDBA
    May 3 '16 at 6:53











  • In non-busy systems, Log_files may change only once a week. A busy system might see them change once an hour. But not "every time you run SHOW SLAVE STATUS".

    – Rick James
    May 3 '16 at 23:37











  • Simple way just create a test database on master server and see if it got created on slave server (assuming no time lagging).

    – rathishDBA
    May 17 '17 at 14:12



















  • "change every time"? I don't think so.

    – Rick James
    May 2 '16 at 19:54











  • @RickJames If master data replicated to slave, the values will change. However, we can define the maximum size limit for log files (binary log & relay log), once the max limit reached, log files names will change. I tried to answer in simple language, so may be few things change a bit. Thank you.

    – rathishDBA
    May 3 '16 at 6:53











  • In non-busy systems, Log_files may change only once a week. A busy system might see them change once an hour. But not "every time you run SHOW SLAVE STATUS".

    – Rick James
    May 3 '16 at 23:37











  • Simple way just create a test database on master server and see if it got created on slave server (assuming no time lagging).

    – rathishDBA
    May 17 '17 at 14:12

















"change every time"? I don't think so.

– Rick James
May 2 '16 at 19:54





"change every time"? I don't think so.

– Rick James
May 2 '16 at 19:54













@RickJames If master data replicated to slave, the values will change. However, we can define the maximum size limit for log files (binary log & relay log), once the max limit reached, log files names will change. I tried to answer in simple language, so may be few things change a bit. Thank you.

– rathishDBA
May 3 '16 at 6:53





@RickJames If master data replicated to slave, the values will change. However, we can define the maximum size limit for log files (binary log & relay log), once the max limit reached, log files names will change. I tried to answer in simple language, so may be few things change a bit. Thank you.

– rathishDBA
May 3 '16 at 6:53













In non-busy systems, Log_files may change only once a week. A busy system might see them change once an hour. But not "every time you run SHOW SLAVE STATUS".

– Rick James
May 3 '16 at 23:37





In non-busy systems, Log_files may change only once a week. A busy system might see them change once an hour. But not "every time you run SHOW SLAVE STATUS".

– Rick James
May 3 '16 at 23:37













Simple way just create a test database on master server and see if it got created on slave server (assuming no time lagging).

– rathishDBA
May 17 '17 at 14:12





Simple way just create a test database on master server and see if it got created on slave server (assuming no time lagging).

– rathishDBA
May 17 '17 at 14:12


















draft saved

draft discarded




















































Thanks for contributing an answer to Database Administrators Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdba.stackexchange.com%2fquestions%2f137167%2fmysql-replication-slave-is-not-getting-data-from-master%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

ORA-01691 (unable to extend lob segment) even though my tablespace has AUTOEXTEND onORA-01692: unable to...

Always On Availability groups resolving state after failover - Remote harden of transaction...

Circunscripción electoral de Guipúzcoa Referencias Menú de navegaciónLas claves del sistema electoral en...