# percona replication error after shutting down the slave

**URL:** <https://forums.percona.com/t/percona-replication-error-after-shutting-down-the-slave/4291>\
**Category:** Other MySQL® Questions\
**Created:** [July 9, 2015, 7:19am UTC](https://forums.percona.com/t/percona-replication-error-after-shutting-down-the-slave/4291 "2015-07-09T07:19:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![aysabzevar](https://avatars.discourse-cdn.com/v4/letter/a/c37758/32.png) [@aysabzevar](https://forums.percona.com/u/aysabzevar)\
**Post date:** [July 9, 2015, 7:19am UTC](https://forums.percona.com/t/percona-replication-error-after-shutting-down-the-slave/4291/1 "2015-07-09T07:19:34Z")

</div>

Here is the slave:  
[html]  
mysql\> show slave status \G  
\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* 1. row \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
  
Master\_Host: 192.168.0.56  
  
Master\_Log\_File: mysql-bin.000226  
  
Read\_Master\_Log\_Pos: 695831819  
  
Relay\_Log\_File: mysql-relay-bin.000001  
  
Relay\_Log\_Pos: 4  
  
Relay\_Master\_Log\_File: mysql-bin.000226  
  
Slave\_IO\_Running: No  
  
Slave\_SQL\_Running: Yes  
  
Exec\_Master\_Log\_Pos: 695831819  
  
Relay\_Log\_Space: 120  
  
Last\_IO\_Errno: 1236  
  
Last\_IO\_Error: Got fatal error 1236 from master when reading data from binary log: ‘Could not find first log file name in binary log index file’  
  
Last\_IO\_Error\_Timestamp: 150709 14:26:07

[/html]  
It seems slave receives the logs.  
Actually we have “Master with Relay Slave” replication and the slave itself act as master for another slave.

---

<div class="post-metadata">

**Author:** ![jrivera](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/jrivera/32/13_2.png) [@jrivera](https://forums.percona.com/u/jrivera)\
**Post date:** [July 10, 2015, 9:49pm UTC](https://forums.percona.com/t/percona-replication-error-after-shutting-down-the-slave/4291/2 "2015-07-10T21:49:08Z")

</div>

This blog written by Muhammad should be helpful in your case:

[url][https://www.percona.com/blog/2014/10/08/mysql-replication-got-fatal-error-1236-causes-and-cures/[/url]](https://www.percona.com/blog/2014/10/08/mysql-replication-got-fatal-error-1236-causes-and-cures/%5B/url%5D)

In case you have further questions just post it here.

---

<div class="post-metadata">

**Author:** ![aysabzevar](https://avatars.discourse-cdn.com/v4/letter/a/c37758/32.png) [@aysabzevar](https://forums.percona.com/u/aysabzevar)\
**Post date:** [July 14, 2015, 3:02am UTC](https://forums.percona.com/t/percona-replication-error-after-shutting-down-the-slave/4291/3 "2015-07-14T03:02:03Z")

</div>

Actually it doesn’t help dear jrivera. I still have the problem and after every mysql restart I see `Got fatal error 1236 from master when reading data from binary log: 'Could not find first log file name in binary log index file'` message
