[HyperDB] Splitting READs and WRITEs
J M
jerome.m at gmail.com
Tue Mar 2 20:05:46 UTC 2010
i have this configuration:
add_db_server('global',0,'slave1',1,0,'192.168.136.141:3306','
192.168.136.141:3306',wordpress,user,user);
// Slave DB
add_db_server('global',0,'master1',2,1,'192.168.136.70:3306','
192.168.136.70:3306',wordpress,user,user);
// Master DB
-- enabled logging in mysql but some reason not select's are being thrown to
the "slave1" node.. all SQL are being executed on "master"
any ideas why? did i miss something?
More information about the HyperDB
mailing list