[求助] discuz X3.2配置读写分离的话 配置文件怎么改?
2017-12-31 07:21
来源:未知
点击数:           

$_config['db']['slave']['1']['dbuser'] = 'root';


参照官网2X的介绍,按照下面的配置就行

$_config['db']['common']['slave_except_table'] = 'common_session';


这个用不用配置成true啊?哪位大神给指点一下。

$_config['db']['slave']['1']['tablepre'] = 'pre_',惠泽社群图库;

$_config['db']['slave']['1']['dbcharset'] = 'gbk';

但我的3.2配置文件里还有一个参数$_config['db']['slave']='';

$_config['db']['slave']['1']['dbname'] = 'discuz';

$_config['db']['slave']['1']['dbpw'] = 'password';

$_config['db']['slave']['1']['pconnect'] = '0';

$_config['db']['slave']['1']['dbhost'] = '192.168.1.2';

Copyright © 2003-2015 All rights reserved.http://www.tjcmgroup.com四肖期期准2018年,香港彩票开奖记录,惠泽社群图库,2018开奖记录手机版026版权所有