I have a caution to share with you in your setup.
MIXED for all 3 servers would be OK, but I would prefer you use STATEMENT during this migration time. Why ??? On
Jan 02, 2015 I wrote the answer to this post : mysql replication master 5.5 slave 5.1 error on create database
I discussed how the format of binlog events can change between versions.
In that post, I gave an example that my former manager (at the NY Times) discovered. There was a setup of MySQL 5.5 master with MySQL 5.6 slave. Replication would break very quickly and repeatedly. My then manager found an odd trace dump in the error log with the phrase
Please note the
What was the issue ??? It turned out that DATETIME fields would break replication. How ??? MySQL 5.6 started supporting microseconds in DATETIME values. MySQL 5.5 did not. So, when replication threads attempted to unpack the binlog event from the relay log, the format for DATETIME was wrong in the eyes of MySQL 5.6.
My manager's workaround ??? Switch to
STATEMENT for binlog_format, use statement-based replication. Everything went fine from there.
You said you are using
MIXED and that's OK. I would just make sure you get away from the 5.1 and 5.5 server as fast as you can (Do the Migration in Haste).
Such a setup is fine. A current colleague at my current employer did MySQL 5.1 to 5.7 in stages. No issues (I assumed he used MIXED or STATEMENT).
You should try this setup in DEV/STG and make sure DATETIME value don't keel over replication.