Get position of mysqlbinlog error. I have the error's line number
You can follow this steps/workaround : 


Take converted binary logs in separate file.


mysqlbinlog --base64-output=DECODE-ROWS -v hostname_binlog.00XXX &gt; Binary_log.sql


You directly Binary_log.sql file on MySQL server or you can use mysqlbinlog command ( if you have sufficient space)


mysqlbinlog --base64-output=DECODE-ROWS -v hostname_binlog.00XXX | mysql -v -u root

Here using -v ( verbose ), logs will printed on terminal &amp; you can get details of each statement.