越简单,越美好!More simpler more better

CakePHP+Mysql热备来实现读写分离  浏览:1303

2015-12-11

cakephp mysql 读写分离

实现cakePHP读写分离,首先配置数据库连接app/Config/database.phpclass DATABASE_CONFIG {    //可读可写权限    public $default = array (        'dat... 查看详细