The problem is locked!
8
follow
5129
views

wecenter支持连接多个数据库吗?

AI智能回复搜索中,请稍后...

Why is it folded? 0 个回复被折叠
lidanghong 初级会员 User from: 陕西省西安市
2015-01-25 14:21
这个是怎么实现的呢,原理是什么?
Flyour 中级会员 User from: 北京市顺义区
2015-01-25 11:46

zhichi

 
Hanrak 中级会员 User from: 新疆乌鲁木齐市
2015-01-25 00:41
  ['charset'] = 'utf8';
$config['prefix'] = 'AAA_';
$config['driver'] = 'PDO_MYSQL';
$config['master'] = array (
  'charset' => 'utf8',
  'host' => 'localhost',
  'username' => 'AAA_USER',
  'password' => '123456',
  'dbname' => 'AAA',
);
$config['slave'] = array (
  'charset' => 'utf8',
  'host' => '127.0.0.2',
  'username' => 'AAA_USER',
  'password' => '123456',
  'dbname' => 'AAA',
);
是这样的吗 

AWSupport 初级会员 User from: 广东省深圳市
2014-12-08 13:47
支持主从,master 写 slave 读,同步需要自己搞定
zhengqiang 超级管理员 User from: 广东省深圳市
2014-12-08 13:40
支持主从数据库以及多个从数据库。 config['master']
振憾佺場● 注册会员 User from: 山东省
2014-12-08 13:18
32212121212

About the author

user_guide 初级会员

This guy is lazy,Introduction has not been set

Problem dynamics

Release time
2014-12-08 11:23
Update time
2015-01-25 14:21
Focused
8 people pay attention to

Related issues

我想做一个 社交化问答社区,求高手!仿wecenter。
Savant3在wecenter的哪里用到了
wecenter能不能添加自动生成网站地图的的功能
wecenter2.1版本伪静态问题
有可以做WeCenter 3.1.9插件的高手吗?
有没有关于wecenter通知和动态相关规则的文档啊
有谁的wecenter程序在IIS下面做了伪静态的?
AWS目前貌似对IIS环境的支持不是很好
回答问题速度这么快,你们多少人同时在线做服务支持?
大家会申请百度直达号,连接自己的问答网站吗?