https://github.com/primeminister/cake-master-slave-setup こちらをCakePHP 2.xに対応させたものです。 ついでに色々いじったのでオリジナルとは使い方が違います。 app/Model/Datasource/Database/MysqlMasterSlave.php <?php App::uses('Mysql', 'Model/Datasource/Database'); /** * https://github.com/primeminister/cake-master-slave-setup をCake 2.xに対応させたもの。 */ class MysqlMasterSlave extends Mysql { public $description = "MySQL DBO Driver with support for