array ( 'type' => 'pdo', 'host' => 'rds9s952vv45p7721k81.mysql.rds.aliyuncs.com:3306',//read,update 'database' => 'zhinongyun', 'username' => 'xinnongyun', 'password' => 'xinnongbaohe', 'charset' => 'utf8' # 持久化服务器,只负责保存数据,跟读写分离差不多,但可以更换不同的数据库类型 /* 'save' => array ( 'type' => 'pdo', 'host' => 'localhost:3306', 'database' => 'dever_test', 'username' => 'root', 'password' => '123456', 'charset' => 'utf8', ), # 迁移旧的数据库服务器,具体迁移规则请到old目录中定义 'old' => array ( 'type' => 'pdo', 'host' => 'localhost:3306', 'database' => 'mazephp', 'username' => 'root', 'password' => '123456', 'charset' => 'utf8', ) */ ), /* 'manage' => array ( 'type' => 'mysql', 'host' => 'localhost:3306,localhost:3306',//read,update 'database' => 'dever', 'username' => 'root', 'password' => '123456', 'charset' => 'utf8' ) array ( 'type' => 'mongo', 'host' => '127.0.0.1:27017', 'database' => 'farm', ), */ );