Automatic MySQL Replication Fail-over Strategy
MySQL 5.6 introduces Global Transaction Identifiers to replication, and complements these with new failover and switchover utilities which can automate fault recovery

You can learn more about replication in MySQL 5.6 here:
http://dev.mysql.com/tech-resources/articles/mysql-5.6-replication.html

You can also watch a tutorial demonstrating how these utilities work to provide self-healing clusters:
http://dev.mysql.com/tech-resources/articles/mysql-replication-utilities.html