DB Read Write splitting

I have two database on two separate servers, both of them are setup with master-master replication, one of the database is being used for all the write operations and the other for read operations, I was using this extension that I found DB read write splitting but it started throwing DB connection error, the question that I have is, is there any other extension that I can use or any other way to split the db read write operations ?

Thanks.

Anyone?

Check this guide http://www.yiiframework.com/doc/guide/1.1/en/database.dao and set up two db connections. Then you can choose which one should be used with the selected query.